Module

Nemo.Types

Package
purescript-nemo
Repository
opyapeus/purescript-nemo

#RawMap Source

newtype RawMap

Constructors

#RawSound Source

newtype RawSound

Constructors

Instances

#Asset Source

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

Asset type. It contains map data and sound data.

#DrawContext Source

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

#SoundContext Source

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

#EmojiMap Source

#Sound Source

#Tick Source

type Tick = { efct :: Efct, scales :: Array Scale, vol :: Vol }

#Scale Source

type Scale = { note :: Note, octave :: Octave }

#DebugDisplay Source

#DebugConfig Source

type DebugConfig = { color :: Color, debugDisplay :: DebugDisplay }

Debug config.

#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