Module

Graphics.Glapple.Data.GameId

Package
purescript-glapple
Repository
yukikurage/purescript-glapple

#GameId Source

data GameId s i

Used for input from outside the game.

Constructors

#tell Source

tell :: forall s i m. MonadEffect m => GameId s i -> i -> m Unit

Tell input to the game.

#renderGame Source

renderGame :: forall s i. GameId s i -> Picture s

Draw the game.

#emptyGameId Source

emptyGameId :: forall m s i. Bind m => MonadEffect m => m (GameId s i)

Empty GameId.

#null Source

null :: forall s i m. MonadEffect m => GameId s i -> m Boolean

Returns True if GameId is empty.