mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Correct placement of non-overlapping objects.
This commit is contained in:
@@ -62,6 +62,8 @@ public:
|
||||
|
||||
// Checks if object is visitable from certain direction. X and Y must be between -1..+1
|
||||
bool isVisitableFrom(si8 X, si8 Y) const;
|
||||
int3 getVisitableOffset() const;
|
||||
bool isVisitableFromTop() const;
|
||||
|
||||
// Checks if object can be placed on specific terrain
|
||||
bool canBePlacedAt(ETerrainType terrain) const;
|
||||
|
||||
Reference in New Issue
Block a user