#pragma once #include "common.h" #include "T2Object.h" class AFX_EXT_CLASS T2DrawableObject : public T2Object { public: T2DrawableObject(); virtual ~T2DrawableObject(); virtual void Draw(T2TowerDoc*, const RECT&); virtual T2InfoDialog* ShowInfoDialog(T2TowerDoc*); virtual void DrawHitMask(T2TowerDoc*); protected: virtual void DrawSelf(T2TowerDoc*, const RECT&); virtual T2InfoDialog* ConstructInfoDialog(); };