| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Render
Synopsis
- safeFirstPicture :: [Maybe Picture] -> Picture
- safeGetPictureById :: [Maybe Picture] -> Int -> Picture
- renderMap :: MapInfo -> Picture
- renderEnemies :: [EnemyPeg] -> Picture
- renderPlayer :: PlayerBall -> Picture
- renderBackground :: MapInfo -> MetaInfo -> Picture
Documentation
Arguments
| :: [Maybe Picture] | Input list of pictures. |
| -> Picture | First |
Get first Picture from List
if it exists safely.
Arguments
| :: [Maybe Picture] | Input list of Maybe Pictures. |
| -> Int | Input Id of picture. |
| -> Picture | Output |
Get Picture by Id safely.
Render all EnemyPeg from List.