free-game-0.3.1.4: Create graphical applications for free.

Portabilitynon-portable
Stabilityexperimental
MaintainerFumiaki Kinsohita <fumiexcel@gmail.com>
Safe HaskellNone

Graphics.FreeGame.Util

Description

 

Synopsis

Documentation

untickGame :: Game a -> Game (Game a)Source

Run a Game as one frame.

randomness :: (Random r, MonadFree GameAction m) => (r, r) -> m rSource

Get a given range of value.

degrees :: Float -> FloatSource

Convert radians to degrees.

radians :: Float -> FloatSource

Convert degrees to radians.

loadPictureFromFile :: FilePath -> Game PictureSource

Create a Picture from the given file.