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
11template <class T, class Method>
12class sFStateMgr_c : public sStateMgr_c<T, Method, sFStateFct_c, sStateIDChk_c> {
13public:
14 sFStateMgr_c(T &owner, const sStateIDIf_c &initializeState) :
15 sStateMgr_c<T, Method, sFStateFct_c, sStateIDChk_c>(owner, initializeState) {}
16};
The interface for state IDs.