Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- assetsDir :: MisoString
- assetFilenameBeigeBG :: MisoString
- assetFilenameCrown :: MisoString
- assetFilenameGhost :: MisoString
- assetFilenameHeart :: MisoString
- assetFilenameMana :: MisoString
- assetFilenameShade :: MisoString
- assetFilenameSnowflake :: MisoString
- assetFilenameSkull :: MisoString
- assetFilenameSword :: MisoString
- assetRoundTreeForestSpell :: MisoString
- assetSlotBlue :: MisoString
- assetSlotRed :: MisoString
- assetsPath :: MisoString -> MisoString
- assetsUrl :: MisoString -> MisoString
- boardCellHeight :: Int
- boardCellWidth :: Int
- boardToLeftCardCellsOffset :: Int
- boardPixelWidth :: Int
- boardPixelHeight :: Int
- blowAmount :: Nat
- borderSize :: Nat
- buildPixelHeight :: Int
- chargeAmount :: Nat
- nbCardsToDraw :: Int
- data Difficulty
- data Fade
- gameTitle :: MisoString
- handPixelHeight :: Int
- handPixelWidth :: Int
- initialHandSize :: Int
- initialMana :: Nat
- nbTurns :: Nat
- squireAttackBonus :: Nat
- strengthPotAttackBonus :: Nat
- cardBackground :: MisoString -> MisoString
- cardCellHeight :: Int
- cardCellWidth :: Int
- cardPixelHeight :: Int
- cardPixelWidth :: Int
- cardHCellGap :: Int
- cardVCellGap :: Int
- defaultManaCost :: Nat
- itchURL :: MisoString
- teamsVCellGap :: Int
- turnPixelHeight :: Int
- turnPixelWidth :: Int
- cellPixelSize :: Int
- cps :: Int
- defaultFontSize :: Int
- seize :: Int
- subtitleFontSize :: Int
- titleFontSize :: Int
- lobbiesCellWidth :: Int
- lobbiesPixelWidth :: Int
- lobbiesPixelHeight :: Int
- manaLeftPixelOffset :: Int
- worldMapPixels :: (Nat, Nat)
Documentation
assetsDir :: MisoString #
assetsPath :: MisoString -> MisoString #
assetsUrl :: MisoString -> MisoString #
boardCellHeight :: Int #
The number of vertical cells in a board
boardCellWidth :: Int #
The number of horizontal cells in a board
boardToLeftCardCellsOffset :: Int #
The number of cells from the left of the board to leftmost cards
boardPixelWidth :: Int #
The board's width, in pixels
boardPixelHeight :: Int #
The board's height , in pixels
blowAmount :: Nat #
The additional attack granted by the Blow skill when available
borderSize :: Nat #
The size of borders around cards
buildPixelHeight :: Int #
The height of the hand in the build view, in pixels
chargeAmount :: Nat #
The additional attack granted by the Charge skill when available
nbCardsToDraw :: Int #
The number of cards to draw at the beginning of a turn
data Difficulty #
The AI's level. Not truly a constant, I know.
Instances
Bounded Difficulty # | |
Defined in Constants minBound :: Difficulty # maxBound :: Difficulty # | |
Enum Difficulty # | |
Defined in Constants succ :: Difficulty -> Difficulty # pred :: Difficulty -> Difficulty # toEnum :: Int -> Difficulty # fromEnum :: Difficulty -> Int # enumFrom :: Difficulty -> [Difficulty] # enumFromThen :: Difficulty -> Difficulty -> [Difficulty] # enumFromTo :: Difficulty -> Difficulty -> [Difficulty] # enumFromThenTo :: Difficulty -> Difficulty -> Difficulty -> [Difficulty] # | |
Eq Difficulty # | |
Defined in Constants (==) :: Difficulty -> Difficulty -> Bool # (/=) :: Difficulty -> Difficulty -> Bool # | |
Show Difficulty # | |
Defined in Constants showsPrec :: Int -> Difficulty -> ShowS # show :: Difficulty -> String # showList :: [Difficulty] -> ShowS # | |
Generic Difficulty # | |
Defined in Constants type Rep Difficulty :: Type -> Type # from :: Difficulty -> Rep Difficulty x # to :: Rep Difficulty x -> Difficulty # | |
type Rep Difficulty # | |
Fade or not fade.
FadeIn | Fadein (transparent->visible) |
FadeOut | Fadeout (visible->transparent) |
DontFade | Don't do any fadeing |
gameTitle :: MisoString #
handPixelHeight :: Int #
The hands's height, in pixels
handPixelWidth :: Int #
The hands's width, in pixels
initialHandSize :: Int #
The initial number of cards in the hand
initialMana :: Nat #
The initial mana of a team
The attack boost given by a squire to the knight in front
strengthPotAttackBonus :: Nat #
The bonus given by a strength potion
cardBackground :: MisoString -> MisoString #
cardCellHeight :: Int #
A card's height, in cells
cardCellWidth :: Int #
A card's width, in cells
cardPixelHeight :: Int #
A card's height, in pixels
cardPixelWidth :: Int #
A card's width, in pixels, equal to 24*3=72
cardHCellGap :: Int #
The horizontal spacing between two cards, in cells
cardVCellGap :: Int #
The vertical spacing between two cards, in cells
defaultManaCost :: Nat #
The default mana prize if omitted in data.json
itchURL :: MisoString #
The URL of the game on itch.io
teamsVCellGap :: Int #
The vertical spacing between the two teams, in cells
turnPixelHeight :: Int #
The turn widget height, in pixels
turnPixelWidth :: Int #
The turn widget width, in pixels
cellPixelSize :: Int #
The size of a cell, in pixels
defaultFontSize :: Int #
The default font size in pixels. It's actually the same as the default of browsers. | See e.g. https://www.w3schools.com/css/css_font_size.asp
subtitleFontSize :: Int #
The size of subtitles
titleFontSize :: Int #
The size of titles
lobbiesCellWidth :: Int #
The width of the backgrounds of non-board view, in cells
The width of the backgrounds of non-board view, in pixels
The height of the backgrounds of non-board view, in pixels
The number of pixels from the left of the board, to the center of the mana column
worldMapPixels :: (Nat, Nat) #
The width and height of the world map, in pixels