Codec.Tiled.Tileset.Tile
data Tile Source #
Constructors
Fields
Array of Frames
Local ID of the tile
Image representing this tile (optional)
Height of the tile image in pixels
Width of the tile image in pixels
Layer with type objectgroup, when collision shapes are specified (optional)
Percentage chance this tile is chosen when competing with others in the editor (optional)
Array of Properties
Index of terrain for each corner of tile (optional)
The type of the tile (optional)
Defined in Codec.Tiled.Tileset.Tile
Methods
parseJSON :: Value -> Parser Tile #
parseJSONList :: Value -> Parser [Tile] #
toJSON :: Tile -> Value #
toEncoding :: Tile -> Encoding #
toJSONList :: [Tile] -> Value #
toEncodingList :: [Tile] -> Encoding #
Associated Types
type Rep Tile :: Type -> Type #
from :: Tile -> Rep Tile x #
to :: Rep Tile x -> Tile #
showsPrec :: Int -> Tile -> ShowS #
show :: Tile -> String #
showList :: [Tile] -> ShowS #
(==) :: Tile -> Tile -> Bool #
(/=) :: Tile -> Tile -> Bool #
empty :: Tile Source #