Skip to content

Commit

Permalink
Re-sorts definitions in file. Moves doc. Refs #22.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanperez-keera committed Nov 27, 2017
1 parent 8d241db commit b589665
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/ResourceSpecs.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{-# LANGUAGE CPP #-}
module ResourceSpecs where

-- * Game assets
import Resources

-- * Game assets

-- ** Images
initialBG :: ImageSpec
initialBG = ("data/level0.png", Nothing)
Expand Down Expand Up @@ -45,16 +46,17 @@ livesUpImage = ("data/heart.png", Just (0, 255, 0))
livesUpImage = ("data/heart-alpha.png", Nothing)
#endif

-- ** Fonts
gameFontSpec :: FontSpec
gameFontSpec = ("data/lacuna.ttf", 32)

fontColor :: ColorSpec
fontColor = (228, 228, 228, 255)

-- ** Audio
backgroundMusic :: MusicSpec
backgroundMusic = "data/level0.mp3"

blockHitSFX :: SoundFXSpec
blockHitSFX = ("data/196106_aiwha_ding-cc-by.wav", 2000)

-- ** Fonts
gameFontSpec :: FontSpec
gameFontSpec = ("data/lacuna.ttf", 32)

-- ** Colors
fontColor :: ColorSpec
fontColor = (228, 228, 228, 255)

0 comments on commit b589665

Please sign in to comment.