Gamgine.State.State
data State a Source #
an application state
Constructors
Fields
called when the state is entered, when Nothing is returned, than the state couldn't be entered
called when the state is leaved
called for each application update cycle
called for each frame rendering
called when a key was pressed/released
called when a mouse button was pressed/released
called when a mouse was moved