From 37e364b2c6cc7487a1c888d256a73e5337bb7189 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 14 Jun 2023 00:50:34 +0100 Subject: initial commit --- src/T2DLL/T2MoverModule.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/T2DLL/T2MoverModule.h (limited to 'src/T2DLL/T2MoverModule.h') 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&) {} +}; -- cgit v1.2.3