NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
s_FStateMgr.hpp
1
#pragma once
2
#include <game/sLib/s_FStateID.hpp>
3
#include <game/sLib/s_StateMgr.hpp>
4
#include <game/sLib/s_FState.hpp>
5
#include <game/sLib/s_FStateFct.hpp>
6
7
/// @brief A wrapper for sStateMgr_c that uses sFStateFct_c and sStateIDChk_c.
8
/// @tparam T The class that this state belongs to.
9
/// @tparam Method The method to use for the state manager.
10
/// @ingroup state
11
template
<
class
T,
class
Method>
12
class
sFStateMgr_c :
public
sStateMgr_c<T, Method, sFStateFct_c, sStateIDChk_c> {
13
public
:
14
sFStateMgr_c(T &owner,
const
sStateIDIf_c
&
initializeState
) :
15
sStateMgr_c<T, Method, sFStateFct_c, sStateIDChk_c>(owner,
initializeState
) {}
16
};
sStateIDIf_c
The interface for state IDs.
Definition
s_StateInterfaces.hpp:10
sStateMgr_c< T, Method, sFStateFct_c, sStateIDChk_c >::initializeState
virtual void initializeState()
Definition
s_StateMgr.hpp:20
include
game
sLib
s_FStateMgr.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2