#pragma once #include "common.h" #include "T2MoverModule.h" enum { kStairDirection0 = 0, kStairDirection1, kStairDirection2 }; class AFX_EXT_CLASS T2StairModule : public T2MoverModule { public: T2StairModule(); virtual ~T2StairModule(); virtual void RemoveContents(T2TowerDoc*); void MoverIDChanged(unsigned int); void SetModuleRect(const RECT& r) { mModuleRect = r; } void GetModuleRect(RECT& r) { r = mModuleRect; } int GetExtraSize() { return mModuleRect.bottom - mModuleRect.top - 2; } protected: virtual void LoadSelf(T2Archive&, T2TowerDoc*); virtual void SaveSelf(T2Archive&); CRect mModuleRect; };