#ifndef T2DLL_T2STAIRMODULE_H #define T2DLL_T2STAIRMODULE_H #include "../common.h" #include "T2MoverModule.h" enum { kStairDirection0 = 0, kStairDirection1, // up? kStairDirection2 // down? }; class AFX_CLASS_EXPORT 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; }; #endif