SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
ActorStateKeeper.hpp
1#pragma once
2
3#include "Game/LiveActor/Nerve.hpp"
4#include "Game/LiveActor/ActorStateBase.hpp"
5
7private:
8 struct State {
9 ActorStateBaseInterface* mInterface;
10 const Nerve* mNerve;
11 const char* mName;
12 };
13public:
15
16 void addState(ActorStateBaseInterface *, const Nerve *, const char *);
17 bool updateCurrentState();
18 void startState(const Nerve *);
19 void endState(const Nerve *);
20 State* findStateInfo(const Nerve *);
21
22 s32 mStatesCapacity;
23 s32 mLength;
24 State* mStates; // _8
25 State* mCurrentState; // _C
26};
Used for executing states of a LiveActor.
Definition Nerve.hpp:6