1 #ifndef CORE_INCLUDE_STATE_HPP
2 #define CORE_INCLUDE_STATE_HPP
9 virtual void init() = 0;
virtual void update()=0
Update state data.
virtual void init()=0
Initialize state related data.
virtual ~State()=default
Destroy the State object.
virtual void resume()
Resume paused state.
virtual void pause()
Pause a state.
virtual void handleInput()=0
Handle user input.
virtual void draw()=0
Draw state objects.