swarm-0.7.0.0: 2D resource gathering game with programmable robots
LicenseBSD-3-Clause
Safe HaskellNone
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 #

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 #

editorFocusRing :: forall n f. Functor f => (FocusRing n -> f (FocusRing n)) -> WorldEditor n -> f (WorldEditor n) Source #

entityPaintList :: forall n f. Functor f => (List n EntityFacade -> f (List n EntityFacade)) -> WorldEditor n -> f (WorldEditor n) Source #

outputFilePath :: forall n f. Functor f => (FilePath -> f FilePath) -> WorldEditor n -> f (WorldEditor n) Source #

terrainList :: forall n f. Functor f => (List n TerrainType -> f (List n TerrainType)) -> WorldEditor n -> f (WorldEditor n) Source #