blob: 342e4de7122c42f15f10d18b06bd7f0d3e4d7c85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#pragma once
#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;
};
|