SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
include
Game
LiveActor
ActorStateKeeper.hpp
1
#pragma once
2
3
#include "Game/LiveActor/Nerve.hpp"
4
#include "Game/LiveActor/ActorStateBase.hpp"
5
6
class
ActorStateKeeper
{
7
private
:
8
struct
State
{
9
ActorStateBaseInterface
* mInterface;
10
const
Nerve
* mNerve;
11
const
char
* mName;
12
};
13
public
:
14
ActorStateKeeper
(
int
);
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
};
ActorStateBaseInterface
Definition
ActorStateBase.hpp:6
ActorStateKeeper
Definition
ActorStateKeeper.hpp:6
Nerve
Used for executing states of a LiveActor.
Definition
Nerve.hpp:6
ActorStateKeeper::State
Definition
ActorStateKeeper.hpp:8
Generated by
1.10.0