summaryrefslogtreecommitdiff
path: root/include/s/s_StateMethodUsr_FI.hpp
blob: 5d3ae9d610129da5901bfa8836bb36f6abd93d7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef S_STATEMETHODUSR_FI_H
#define S_STATEMETHODUSR_FI_H

#include "s/s_StateMethod.hpp"

// Note: Ported from https://github.com/NSMBW-Community/NSMBW-Decomp/tree/master/include/dol/sLib
// See include/s/README.txt for changes made

/// @brief An extension to sStateMethod_c that implements the remaining abstract methods.
/// @details [Name might mean "Functionality implementation"].
/// @ingroup state
class sStateMethodUsr_FI_c : public sStateMethod_c {
public:
    sStateMethodUsr_FI_c(sStateIDChkIf_c &checker, sStateFctIf_c &factory, const sStateIDIf_c &initialState);
    virtual ~sStateMethodUsr_FI_c();

    virtual int initializeStateLocalMethod();
    virtual void executeStateLocalMethod();
    virtual void finalizeStateLocalMethod();
    virtual void changeStateLocalMethod(const sStateIDIf_c &newStateID);
};

#endif