Module
Emo8.Util.Collide
- Package
- purescript-emo8
- Repository
- opyapeus/purescript-emo8
#sinkMapXY Source
sinkMapXY :: EmojiMap -> Size -> Walls -> X -> Y -> Size -> X -> Y -> Maybe Sink
Calculate how deep the object is sunk in the walls. It takes emoji map, map size, walls, previous x, previous y, emoji size, x and y. ※ This function only checks 4-edges of the object and treats 1-map-cell for each the edges.
- 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