diff options
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2MoverModule.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/T2DLL/T2MoverModule.h b/src/T2DLL/T2MoverModule.h new file mode 100644 index 0000000..f9ce786 --- /dev/null +++ b/src/T2DLL/T2MoverModule.h @@ -0,0 +1,40 @@ +#pragma once +#include "common.h" + +class T2MoverModule { +public: + T2MoverModule(); + virtual ~T2MoverModule(); + virtual void SetUsed(int); + virtual void RemoveContents(T2TowerDoc*); + virtual void StopAdded(T2TowerDoc*, T2Mover*, int); + virtual void StopRemoved(T2TowerDoc*, T2Mover*, int); + virtual void Enter(T2Mover*, T2People*); + virtual int Enter(CLink*); + virtual int Leave(CLink*); +protected: + virtual void LoadSelf(T2Archive&, T2TowerDoc*); + virtual void SaveSelf(T2Archive&); +public: + void SetDirection(int); + void AddPosition(int); +private: + static unsigned int GetNewModuleID(T2TowerDoc*); +public: + void SetModuleID(T2TowerDoc*); +private: + static unsigned int sModuleID; + +public: + unsigned int GetModuleID() const {} + int GetPosition() const {} + int GetDirection() const {} + int GetWaitCounter() const {} + void SetWaitCounter(int) {} + void SubWaitCounter(int) {} + int GetPatIndex() const {} + void SetPatIndex(int) {} + int GetNumPeople() const {} + T2MoverModule(const T2MoverModule&) {} + T2MoverModule& operator=(const T2MoverModule&) {} +}; |