CreatureManager now uses Tuples

This commit is contained in:
2016-04-14 04:19:59 +10:00
parent b74a5aabcd
commit 5d217d7cf9
5 changed files with 44 additions and 6 deletions
+4
View File
@@ -63,6 +63,10 @@ BoundingBox Entity::GetBounds() const {
return bounds;
}
BoundingBox Entity::GetRealBounds() const {
return bounds + origin;
}
const char* Entity::GetType() const {
return type;
}
+1
View File
@@ -41,6 +41,7 @@ public:
Vector2 GetOrigin() const;
Vector2 GetMotion() const;
BoundingBox GetBounds() const;
BoundingBox GetRealBounds() const;
const char* GetType() const;