License | BSD-3-Clause |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
Swarm.Game.Scenario.Topography.ProtoCell
Description
Synopsis
- data SignpostableCell c = SignpostableCell {}
- newtype StructurePalette e = StructurePalette {
- unPalette :: Map Char (SignpostableCell e)
- data StructureMarker = StructureMarker {}
Documentation
data SignpostableCell c Source #
Supplements a cell with waypoint and/or structure placement information
Constructors
SignpostableCell | |
Fields |
Instances
FromJSONE e a => FromJSONE e (SignpostableCell a) Source # | |
Defined in Swarm.Game.Scenario.Topography.ProtoCell Methods parseJSONE :: Value -> ParserE e (SignpostableCell a) # parseJSONE' :: e -> Value -> Parser (SignpostableCell a) # | |
Show c => Show (SignpostableCell c) Source # | |
Defined in Swarm.Game.Scenario.Topography.ProtoCell Methods showsPrec :: Int -> SignpostableCell c -> ShowS # show :: SignpostableCell c -> String # showList :: [SignpostableCell c] -> ShowS # | |
Eq c => Eq (SignpostableCell c) Source # | |
Defined in Swarm.Game.Scenario.Topography.ProtoCell Methods (==) :: SignpostableCell c -> SignpostableCell c -> Bool # (/=) :: SignpostableCell c -> SignpostableCell c -> Bool # |
newtype StructurePalette e Source #
Constructors
StructurePalette | |
Fields
|
Instances
FromJSONE e a => FromJSONE e (StructurePalette a) Source # | |
Defined in Swarm.Game.Scenario.Topography.ProtoCell Methods parseJSONE :: Value -> ParserE e (StructurePalette a) # parseJSONE' :: e -> Value -> Parser (StructurePalette a) # | |
Show e => Show (StructurePalette e) Source # | |
Defined in Swarm.Game.Scenario.Topography.ProtoCell Methods showsPrec :: Int -> StructurePalette e -> ShowS # show :: StructurePalette e -> String # showList :: [StructurePalette e] -> ShowS # | |
Eq e => Eq (StructurePalette e) Source # | |
Defined in Swarm.Game.Scenario.Topography.ProtoCell Methods (==) :: StructurePalette e -> StructurePalette e -> Bool # (/=) :: StructurePalette e -> StructurePalette e -> Bool # |
data StructureMarker Source #
Constructors
StructureMarker | |
Fields |