#pragma once #include "common.h" #include "T2MoverModuleList.h" class AFX_EXT_CLASS T2StairModuleList : public T2MoverModuleList { public: T2StairModuleList(); virtual ~T2StairModuleList(); virtual T2MoverModule* ConstructModule(); virtual void Read(T2Archive&, T2TowerDoc*); virtual int GetModuleCount() const; void AddModule(int position, const RECT& rect); void AddModule(T2TowerDoc* towerDoc, const RECT& rect, BOOL insertAtEnd); void Union(T2MoverModuleList* list, unsigned int moverID); protected: virtual DWORD GetMMClassID() { return 'StML'; } private: int GetIndex(int position, ERequestUpDown upDown) const; };