1 2 3 4 5 6 7 8 9 10 11 12 13
class cBehavior { public: virtual bool IsControlDesired(); virtual bool ControlStarting(); virtual bool ControlEnding(); virtual void Tick(); virtual void PostTick(); virtual void PreTick(); virtual void onRightClicked(); virtual void Destroyed(); virtual ~cBehavior() = 0; };