mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-15 04:06:07 +00:00
Add CStateMachine, mostly matched, constructor needs work
Former-commit-id: 06464964dd
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user