NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
s_StateIDChk.hpp
1#pragma once
2#include <game/sLib/s_StateInterfaces.hpp>
3
4/// @brief A default implementation of a state ID checker.
5/// @details ::isNormalID always returns true.
6class sStateIDChk_c : public sStateIDChkIf_c {
7public:
8 sStateIDChk_c() {}
9 virtual ~sStateIDChk_c() {}
10 virtual bool isNormalID(const sStateIDIf_c &) const {
11 return true;
12 }
13};
The interface for state ID checkers.
virtual bool isNormalID(const sStateIDIf_c &) const
Returns whether a state ID is normal.
The interface for state IDs.