Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Module regarding graphic tiles. This module is meant to be used qualified. |
Synopsis
- data Filepath = Filepath {}
- default24Filepath :: Filepath
- default16Filepath :: Filepath
- filepathToString :: Filepath -> String
-
data Tile
- = Abomination
- | Arrow
- | Assassin
- | AxeOfRage
- | BannerFeather
- | Bear
- | BeastmenDefender
- | BeastmenMinotaur
- | BeastmenSpearman
- | Beholder
- | BirdWhite
- | BlackAppears0
- | BlackAppears1
- | BlackAppears2
- | BlackAppears3
- | Blood0
- | Blood1
- | Blood2
- | Blood3
- | BloodDrop
- | Bones0
- | Bones1
- | Bones2
- | Bones3
- | Bones4
- | Bones5
- | Bones6
- | BowOfGaia
- | BowOfStrength
- | Chest
- | CloakOfGaia
- | Crown
- | CrushingMace
- | Daemon
- | DropBlue
- | EvilKnight
- | EvilTroll
- | EvilPriest
- | EvilSpearman
- | Explosion
- | FlailOfTheDamned
- | GreenPotion
- | Heart
- | HeartBroken
- | HumanArcher
- | HumanChurch
- | HumanGeneral
- | HumanKnight
- | HumanSpearman
- | HumanSwordsman
- | HuntingHorn
- | Loupe
- | Man
- | Ogre
- | Pandemonium
- | RedPotion
- | Shield
- | SkBanner
- | SkullRedEyes
- | SpikyMace
- | Squire
- | StrengthPot
- | Sword1
- | Sword2
- | Sword3
- | SylvanArcher
- | SylvanFalcon
- | SylvanFalconer
- | SylvanGuardian
- | SylvanPriest
- | SylvanSpearwoman
- | SylvanRanger
- | SylvanWorm
- | SwordOfBlood
- | Trebuchet
- | Tree
- | Troll
- | UndeadArcher
- | UndeadGhost
- | UndeadMummy
- | UndeadNecromancer
- | UndeadShade
- | UndeadSkeleton
- | UndeadSpecter
- | UndeadVampire
- | UndeadWarrior
- | WhiteAppears0
- | WhiteAppears1
- | WhiteAppears2
- | WhiteAppears3
- | WhiteAppears4
- | Wings
- | ZCaptain
- | ZKing
- | ZKnight
- | ZPriest
- | ZVeteran
- all :: [Tile]
- data TileUI = TileUI {}
-
data Size
- = Sixteen
- | TwentyFour
- sizeToNat :: Size -> Nat
Documentation
Instances
Eq Filepath # | |
Ord Filepath # | |
Show Filepath # | |
Generic Filepath # | |
FromJSON Filepath # | |
type Rep Filepath # | |
Defined in Tile
type Rep Filepath = D1 (MetaData "Filepath" "Tile" "main" False) (C1 (MetaCons "Filepath" PrefixI True) (S1 (MetaSel (Just "root") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: (S1 (MetaSel (Just "fpX") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "fpY") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))) |
default24Filepath :: Filepath #
The default 24x24 asset shown when an asset is not found.
| This makes creatureToFilepath
total.
default16Filepath :: Filepath #
The default 16x16 asset shown when an asset is not found.
| This makes creatureToFilepath
total.
filepathToString :: Filepath -> String #
Instances
Instances
Eq TileUI # | |
Show TileUI # | |
Generic TileUI # | |
FromJSON TileUI # | |
type Rep TileUI # | |
Defined in Tile
type Rep TileUI = D1 (MetaData "TileUI" "Tile" "main" False) (C1 (MetaCons "TileUI" PrefixI True) (S1 (MetaSel (Just "filepath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Filepath) :*: S1 (MetaSel (Just "tile") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Tile))) |
Sixteen | Tiles that are 16x16 |
TwentyFour | Tiles that are 24x24 |