| License | BSD-3-Clause |
|---|---|
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
| Eq EntityPaint Source # | |
Defined in Swarm.TUI.Editor.Model | |
getDisplay :: EntityPaint -> Display Source #
toFacade :: EntityPaint -> EntityFacade Source #
data MapEditingBounds Source #
Constructors
| MapEditingBounds | |
Fields
| |
data WorldOverdraw Source #
Constructors
| WorldOverdraw | |
Fields
| |
data WorldEditor n Source #
Constructors
| WorldEditor | |
worldOverdraw :: forall n. Lens' (WorldEditor n) WorldOverdraw Source #
terrainList :: forall n. Lens' (WorldEditor n) (List n TerrainType) Source #
outputFilePath :: forall n. Lens' (WorldEditor n) FilePath Source #
lastWorldEditorMessage :: forall n. Lens' (WorldEditor n) (Maybe String) Source #
entityPaintList :: forall n. Lens' (WorldEditor n) (List n EntityFacade) Source #
editorFocusRing :: forall n. Lens' (WorldEditor n) (FocusRing n) Source #
editingBounds :: forall n. Lens' (WorldEditor n) MapEditingBounds Source #