License | BSD-3-Clause |
---|---|
Safe Haskell | None |
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 #
Instances
Eq EntityPaint Source # | |
Defined in Swarm.TUI.Editor.Model |
getDisplay :: EntityPaint -> Display Source #
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 #
data WorldEditor n Source #
Constructors
WorldEditor | |
Fields
|
editingBounds :: forall n f. Functor f => (MapEditingBounds -> f MapEditingBounds) -> WorldEditor n -> f (WorldEditor n) 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 #
lastWorldEditorMessage :: forall n f. Functor f => (Maybe String -> f (Maybe String)) -> 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 #
worldOverdraw :: forall n f. Functor f => (WorldOverdraw -> f WorldOverdraw) -> WorldEditor n -> f (WorldEditor n) Source #