diff options
Diffstat (limited to 'src/object/objman.h')
-rw-r--r-- | src/object/objman.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/object/objman.h b/src/object/objman.h index 1d67468..390587b 100644 --- a/src/object/objman.h +++ b/src/object/objman.h @@ -45,9 +45,11 @@ public: CObject* SearchInstance(int id); //! Creates an object CObject* CreateObject(Math::Vector pos, float angle, ObjectType type, float power = -1.f, float zoom = 1.f, float height = 0.f, bool trainer = false, bool toy = false, int option = 0); + //! Removes all objects + void Flush(); protected: CObject* m_table[MAX_OBJECTS]; - int usedCount; + int m_usedCount; }; |