swarm-0.6.0.0: 2D resource gathering game with programmable robots
LicenseBSD-3-Clause
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.Game.Scenario.Topography.WorldDescription

Description

 
Synopsis

Documentation

data PWorldDescription e Source #

A description of a world parsed from a YAML file. This type is parameterized to accommodate Cells that utilize a less stateful Entity type.

Constructors

WorldDescription 

Fields

type InheritedStructureDefs = [NamedStructure (Maybe Cell)] Source #

integrateArea :: WorldPalette e -> [NamedStructure (Maybe (PCell e))] -> Object -> Parser (MergedStructure (Maybe (PCell e))) Source #

type WorldDescriptionPaint = PWorldDescription EntityFacade Source #

A pared-down (stateless) version of WorldDescription just for the purpose of rendering a Scenario file