affection-0.0.0.7: A simple Game Engine using SDL

Safe HaskellNone
LanguageHaskell2010

Affection.StateMachine

Documentation

class StateMachine a us where Source #

Minimal complete definition

smLoad, smUpdate, smEvent, smDraw, smClean

Methods

smLoad :: a -> Affection us () Source #

smUpdate :: a -> Double -> Affection us () Source #

smEvent :: a -> [EventPayload] -> Affection us () Source #

smDraw :: a -> Affection us () Source #

smClean :: a -> Affection us () Source #