NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
s_StateMethodUsr_FI.hpp
1#pragma once
2#include <game/sLib/s_StateMethod.hpp>
3
4/// @brief An extension to sStateMethod_c that implements the remaining abstract methods.
5/// @details [Name might mean "Functionality implementation"].
6/// @ingroup state
7class sStateMethodUsr_FI_c : public sStateMethod_c {
8public:
9 sStateMethodUsr_FI_c(sStateIDChkIf_c &checker, sStateFctIf_c &factory, const sStateIDIf_c &initialState);
10 virtual ~sStateMethodUsr_FI_c() {}
11
12 virtual int initializeStateLocalMethod();
13 virtual void executeStateLocalMethod();
14 virtual void finalizeStateLocalMethod();
15 virtual void changeStateLocalMethod(const sStateIDIf_c &newStateID);
16};
The interface for state factories.
The interface for state ID checkers.
The interface for state IDs.
virtual void finalizeStateLocalMethod()
Performs the actual state termination.
virtual int initializeStateLocalMethod()
Performs the actual state initialization.
virtual void executeStateLocalMethod()
Performs the actual state execution.
virtual void changeStateLocalMethod(const sStateIDIf_c &newStateID)
Performs the actual state transition.
sStateMethod_c(sStateIDChkIf_c &checker, sStateFctIf_c &factory, const sStateIDIf_c &initialState)
Constructs a new sStateMethod_c instance.