aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-11-13 08:26:31 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-11-13 08:26:31 -0500
commit613ab3be6ee76595c04b89992e62c41b52bc1a2f (patch)
tree1265eeb4238d04e4a6bf95df439e61c348342eb0 /include/entities.h
parentac52ecab5df8382b51d48a9431f672bfc502a400 (diff)
Added object class, and added quest listing
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
/**