Portability | non-portable |
---|---|
Stability | experimental |
Maintainer | Fumiaki Kinsohita <fumiexcel@gmail.com> |
Safe Haskell | None |
- untickGame :: Free GameAction a -> Free GameAction (Free GameAction a)
- randomness :: (Random r, MonadFree GameAction m) => (r, r) -> m r
- degrees :: Float -> Float
- radians :: Float -> Float
- loadPictureFromFile :: MonadFree GameAction m => FilePath -> m Picture
- loadBitmaps :: FilePath -> Q [Dec]
Documentation
untickGame :: Free GameAction a -> Free GameAction (Free GameAction a)Source
Run a Game
as one frame.
randomness :: (Random r, MonadFree GameAction m) => (r, r) -> m rSource
Get a given range of value.
loadPictureFromFile :: MonadFree GameAction m => FilePath -> m PictureSource
Create a Picture
from the given file.
loadBitmaps :: FilePath -> Q [Dec]Source
Load and define all pictures in the specified directory.