1 #ifndef SCREENSTATE_HPP 2 #define SCREENSTATE_HPP 59 #endif // SCREENSTATE_HPP
virtual bool isRunning()=0
Check if ScreenState is running. Requires and override in inherited classes.
ScreenState()
Default constructor.
Uint32 getState()
Get the internal state of the ScreenState.
Definition: ScreenState.hpp:44
void setState(Uint32 state)
Set the internal state of the ScreenState.
Definition: ScreenState.hpp:51
Abstract class for screen states, necessary for implementing the State pattern along with the Game cl...
Definition: ScreenState.hpp:14
virtual void display()=0
Display the screen state in the window. Requires and override in inherited classes.
Uint32 m_state
Definition: ScreenState.hpp:51