CreatureManager now uses Tuples
This commit is contained in:
@@ -63,6 +63,10 @@ BoundingBox Entity::GetBounds() const {
|
||||
return bounds;
|
||||
}
|
||||
|
||||
BoundingBox Entity::GetRealBounds() const {
|
||||
return bounds + origin;
|
||||
}
|
||||
|
||||
const char* Entity::GetType() const {
|
||||
return type;
|
||||
}
|
||||
@@ -41,6 +41,7 @@ public:
|
||||
Vector2 GetOrigin() const;
|
||||
Vector2 GetMotion() const;
|
||||
BoundingBox GetBounds() const;
|
||||
BoundingBox GetRealBounds() const;
|
||||
|
||||
const char* GetType() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user