Module

Graphics.Glapple.GameRunner

Package
purescript-glapple
Repository
yukikurage/purescript-glapple

#runChildGame Source

runChildGame :: forall s g i o childG childI. GameSpec s childG childI -> GlappleM s g i o (GameId s childI)

A pure version of runChildGame.

#runGame Source

runGame :: forall sprite gameState input. Ord sprite => Number -> CanvasElement -> CanvasSpec -> Array (SpriteData sprite) -> GameSpec sprite gameState input -> Effect (GameId sprite input)

A pure version of runGame.