diff options
Diffstat (limited to 'include/entities.h')
-rw-r--r-- | include/entities.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/entities.h b/include/entities.h index 0bdadb7..c593710 100644 --- a/include/entities.h +++ b/include/entities.h @@ -95,6 +95,7 @@ public: bool light = false; Player(); + ~Player(); void interact(); }; @@ -103,6 +104,7 @@ public: std::vector<int (*)(NPC *)>aiFunc; NPC(); + ~NPC(); void addAIFunc(int (*func)(NPC *),bool preload); void interact(); @@ -115,6 +117,8 @@ public: void *inside; Structures(); + ~Structures(); + unsigned int spawn(_TYPE, float, float); }; @@ -125,6 +129,8 @@ public: Mob(int); Mob(int,unsigned int); + ~Mob(); + void wander(int); }; @@ -136,6 +142,7 @@ public: bool questObject = false; Object(ITEM_ID id, bool qo, const char *pd); + ~Object(); void interact(void); std::thread runInteract() { |