aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-10-26 08:49:10 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-10-26 08:49:10 -0400
commite017c5cbc9f1cf357ca82593e5d2829dd7f729ce (patch)
treea65b9516a4e6a2ff6f9c292da97d5f6f6f84b3bd /include
parent99c8a41cde3e5ec74f35660c8701de4326ffcd21 (diff)
bug fixes
Diffstat (limited to 'include')
-rw-r--r--include/entities.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/entities.h b/include/entities.h
index 47f7f55..c111ea7 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