You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
310 B
21 lines
310 B
|
5 years ago
|
#pragma once
|
||
|
|
|
||
|
|
namespace devilution {
|
||
|
|
|
||
|
|
struct Size {
|
||
|
|
int width;
|
||
|
|
int height;
|
||
|
|
|
||
|
|
bool operator==(const Size &other) const
|
||
|
|
{
|
||
|
|
return width == other.width && height == other.height;
|
||
|
|
}
|
||
|
|
|
||
|
|
bool operator!=(const Size &other) const
|
||
|
|
{
|
||
|
|
return !(*this == other);
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace devilution
|