Module

Emo8.Types

Package
purescript-emo8
Repository
opyapeus/purescript-emo8

#MonitorSize Source

type MonitorSize = { height :: Int, width :: Int }

#Position Source

type Position = { x :: X, y :: Y }

#Asset Source

type Asset = { mapData :: Array EmojiMap, soundData :: Array Sound }

Asset type. It contains map data and sound data.

#EmojiMap Source

#Sound Source

#DrawContext Source

type DrawContext = { ctx :: Context2D, mapData :: Array EmojiMap, monitorSize :: MonitorSize }

#SoundContext Source

type SoundContext = { channelSets :: ChannelSets, ctx :: AudioContext, soundData :: Array Sound }

#X Source

type X = Int

#Y Source

type Y = Int

#IdX Source

type IdX = Int

#IdY Source

type IdY = Int

#Size Source

type Size = Int

#Deg Source

type Deg = Int

#Bpm Source

type Bpm = Int

#MapId Source

type MapId = Int

#SoundId Source

type SoundId = Int