Added LocalCharacter, removed entityIndex

This commit is contained in:
Kayne Ruse
2014-12-19 19:44:34 +11:00
parent 07af05712b
commit 2ae2c48819
10 changed files with 104 additions and 31 deletions
-3
View File
@@ -35,12 +35,10 @@ public:
SpriteSheet* GetSprite();
//accessors & mutators
int SetEntityIndex(int i);
Vector2 SetOrigin(Vector2 v);
Vector2 SetMotion(Vector2 v);
BoundingBox SetBounds(BoundingBox b);
int GetEntityIndex();
Vector2 GetOrigin();
Vector2 GetMotion();
BoundingBox GetBounds();
@@ -50,7 +48,6 @@ protected:
virtual ~Entity() = default;
SpriteSheet sprite;
int entityIndex = -1;
Vector2 origin;
Vector2 motion;
BoundingBox bounds;