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

Swarm.TUI.Editor.Model

Description

 

Documentation

data BoundsSelectionStep Source #

Constructors

UpperLeftPending 
LowerRightPending (Cosmic Coords)

Stores the *world coords* of the upper-left click

SelectionComplete 

data EntityPaint Source #

Constructors

Facade EntityFacade 
Ref Entity 

Instances

Instances details
Eq EntityPaint Source # 
Instance details

Defined in Swarm.TUI.Editor.Model

toFacade :: EntityPaint -> EntityFacade Source #

getEntityName :: EntityFacade -> EntityName Source #

data MapEditingBounds Source #

Constructors

MapEditingBounds 

Fields

boundsRect :: Lens' MapEditingBounds (Maybe (Cosmic BoundsRectangle)) Source #

data WorldOverdraw Source #

Constructors

WorldOverdraw 

Fields

paintedTerrain :: Lens' WorldOverdraw (Map Coords (TerrainWith EntityFacade)) Source #

terrainList :: forall n. Lens' (WorldEditor n) (List n TerrainType) Source #

entityPaintList :: forall n. Lens' (WorldEditor n) (List n EntityFacade) Source #