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
@@ -28,12 +28,10 @@
class Entity {
public:
//accessors & mutators
int SetEntityIndex(int i);
int SetRoomIndex(int i);
Vector2 SetOrigin(Vector2 v);
Vector2 SetMotion(Vector2 v);
int GetEntityIndex();
int GetRoomIndex();
Vector2 GetOrigin();
Vector2 GetMotion();
@@ -42,7 +40,6 @@ protected:
Entity() = default;
~Entity() = default;
int entityIndex = -1;
int roomIndex = -1;
Vector2 origin;
Vector2 motion;