53 template<
typename StateEnum>
65 std::map<State, bool> _states;
113#include "../../../src/Resources/FlagManager.tpp"
FlagManager(const FlagManager &stateful)
StateEnum State
The enum type this manager stores flags for.
void toggleFlag(State state)
Flip a flag between true and false.
void disableFlag(State state)
Set a flag to false.
void setFlag(State state, bool status)
Set a flag to an explicit value.
bool checkFlag(State state) const
Return the current value of a flag.
void enableFlag(State state)
Set a flag to true.