aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/entities.h')
-rw-r--r--include/entities.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/entities.h b/include/entities.h
index 53efc63..b590c8d 100644
--- a/include/entities.h
+++ b/include/entities.h
@@ -15,6 +15,7 @@
#define NPC_INV_SIZE 3 // Size of an NPC's inventory
enum _TYPE { //these are the main types of entities
+ OBJECTT = -2,
STRUCTURET = -1,
PLAYERT,
NPCT,
@@ -106,6 +107,13 @@ public:
void wander(int);
};
+class Object : public Entity{
+public:
+ Object(int);
+ void interact();
+private:
+ int ID;
+};
#endif // ENTITIES_H
/**