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#include <game/sLib/s_StateIDChk.hpp>
7
8/// @brief A wrapper for sStateMgr_c that uses sFStateFct_c and sStateIDChk_c.
9/// @tparam T The class that this state belongs to.
10/// @tparam Method The method to use for the state manager.
11/// @ingroup state
12template <class T, class Method>
13class sFStateMgr_c : public sStateMgr_c<T, Method, sFStateFct_c, sStateIDChk_c> {
14public:
15 sFStateMgr_c(T &owner, const sStateIDIf_c &initializeState) :
16 sStateMgr_c<T, Method, sFStateFct_c, sStateIDChk_c>(owner, initializeState) {}
17};
The interface for state IDs.