mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 17:47:43 +00:00
CBodyState and CStateMachine work
This commit is contained in:
@@ -14,8 +14,10 @@ class CStateManager;
|
||||
class CAi;
|
||||
typedef void (CAi::*CAiStateFunc)(CStateManager&, EStateMsg, float);
|
||||
typedef bool (CAi::*CAiTriggerFunc)(CStateManager&, float);
|
||||
|
||||
class CAiFuncMap
|
||||
{
|
||||
static const std::vector<std::string> gkStateNames;
|
||||
std::unordered_map<std::string, CAiStateFunc> x0_stateFuncs;
|
||||
std::unordered_map<std::string, CAiTriggerFunc> x10_triggerFuncs;
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user