diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/entities.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/include/entities.h b/include/entities.h index f46c295..94febcf 100644 --- a/include/entities.h +++ b/include/entities.h @@ -16,9 +16,9 @@ enum _TYPE { //these are the main types of entities STRUCTURET = -1, - PLAYERT = 0, - NPCT = 1, - MOBT = 2 + PLAYERT, + NPCT, + MOBT }; enum GENDER{ @@ -27,6 +27,11 @@ enum GENDER{ NONE }; +enum MOB_SUB { + MS_RABBIT = 1, + MS_BIRD +}; + class Entity{ public: Inventory *inv; @@ -94,8 +99,9 @@ public: }; class Mob : public Entity{ public: + float init_y; Mob(int); - void wander(int, vec2*); + void wander(int); }; #endif // ENTITIES_H |