Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data PCell e = Cell {
- cellTerrain :: TerrainType
- cellEntity :: Maybe e
- cellRobots :: [IndexedTRobot]
- type Cell = PCell Entity
Documentation
A single cell in a world map, which contains a terrain value, and optionally an entity and robot. It is parameterized on the Entity type to facilitate less stateful versions of the Entity type in rendering scenario data.
Cell | |
|
Instances
Show e => Show (PCell e) Source # | |
Eq e => Eq (PCell e) Source # | |
FromJSONE (EntityMap, RobotMap) Cell Source # | Parse a tuple such as |