New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
StateStateMgr.h
Go to the documentation of this file.
1
#
pragma
once
2
3
#
include
<
state
/
StateStateMethod
.
h
>
4
#
include
<
state
/
StateMgr
.
h
>
5
6
template
<
typename
T,
template
<
typename
FactoryT>
class
Factory>
7
class
StateStateMgr
8
{
9
STATE_MGR_BASE_BODY(
StateStateMgr
, StateStateMethod)
10
11
public
:
12
void
changeToSubState
(
const
StateID
&
state_id
)
13
{
14
mMethod
.
changeToSubStateMethod
(
state_id
);
15
}
16
17
bool
isSubState
()
const
18
{
19
return
mMethod
.
isSubStateMethod
();
20
}
21
22
void
returnState
()
23
{
24
mMethod
.
returnStateMethod
();
25
}
26
27
void
replaceState
(
const
StateID
&
state_id
)
28
{
29
mMethod
.
replaceStateMethod
(
state_id
);
30
}
31
32
const
StateID
*
getMainStateID
()
const
33
{
34
return
mMethod
.
getMainStateID
();
35
}
36
};
StateStateMgr
Definition
StateStateMgr.h:8
state
StateStateMgr.h
Generated by
1.14.0