mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Completely removed old TerrainRect class
This commit is contained in:
@@ -132,6 +132,11 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool operator == (const Rect & other)
|
||||
{
|
||||
return x == other.x && y == other.y && w == other.w && h == other.h;
|
||||
}
|
||||
|
||||
/// returns true if this rect intersects with another rect
|
||||
DLL_LINKAGE bool intersectionTest(const Rect & other) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user