Add CStateMachine, mostly matched, constructor needs work

Former-commit-id: 06464964dd
This commit is contained in:
2022-10-22 21:49:41 -07:00
parent 920b8b3e56
commit 8173a671c2
7 changed files with 300 additions and 3 deletions

View File

@@ -9,6 +9,11 @@ enum EStateMsg {
kStateMsg_Deactivate = 2,
};
class CAi;
class CStateManager;
typedef void (CAi::*CAiStateFunc)(CStateManager& mgr, EStateMsg msg, float arg);
typedef bool (CAi::*CAiTriggerFunc)(CStateManager& mgr, float arg);
class CAiFuncMap {
public:
CAiFuncMap();