Module
Emo8.Game.Update
- Package
- purescript-emo8
- Repository
- opyapeus/purescript-emo8
#Update Source
type Update = UpdateR UpdateContext
Emo8 update monad which can access canvas size.
#UpdateContext Source
type UpdateContext = { canvasSize :: Rect }
#getCanvasSize Source
getCanvasSize :: Update Rect
Get the canvas size given by the emo8
function.
- Modules
- Emo8
- Emo8.
Data. Color - Emo8.
Data. Dir - Emo8.
Data. Draw - Emo8.
Data. Emoji - Emo8.
Data. Input - Emo8.
Data. Key - Emo8.
Data. Note - Emo8.
Data. Sound - Emo8.
Data. Tone - Emo8.
Data. Update - Emo8.
FFI. Emo8Retina - Emo8.
FFI. LocalStorage - Emo8.
FFI. TextBaseline - Emo8.
Game - Emo8.
Game. Draw - Emo8.
Game. Sound - Emo8.
Game. Update - Emo8.
GameBoot - Emo8.
GameDev - Emo8.
GameWithBoot - Emo8.
Input - Emo8.
Input. Direction - Emo8.
Input. Keyboard - Emo8.
Input. Merged - Emo8.
Input. Swipe - Emo8.
Input. Touch - Emo8.
Parser - Emo8.
Parser. EConvert - Emo8.
Parser. NConstraint - Emo8.
Parser. NConvert - Emo8.
Parser. Type - Emo8.
Type - Emo8.
Util. Collide - Emo8.
Util. Config - Emo8.
Util. Input - Emo8.
Util. List - Emo8.
Util. State