diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-06-14 00:50:34 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-06-14 00:50:34 +0100 |
commit | 37e364b2c6cc7487a1c888d256a73e5337bb7189 (patch) | |
tree | eaf6e857382eef16c2dd940eb4125536fbe068bd /src/T2DLL/T2MoverModule.h | |
download | t2win-37e364b2c6cc7487a1c888d256a73e5337bb7189.tar.gz t2win-37e364b2c6cc7487a1c888d256a73e5337bb7189.zip |
initial commit
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&) {} +}; |