| License | BSD-3-Clause |
|---|---|
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Swarm.TUI.Editor.Util
Description
Documentation
getContentAt :: MultiWorld Int e -> Cosmic Coords -> (TerrainType, Maybe e) Source #
getEditorContentAt :: WorldOverdraw -> MultiWorld Int Entity -> Cosmic Coords -> (TerrainType, Maybe EntityPaint) Source #
getEditorTerrainAt :: WorldOverdraw -> MultiWorld Int Entity -> Cosmic Coords -> TerrainType Source #
Arguments
| :: BoundsRectangle | full bounds |
| -> Coords | current coords |
| -> Bool |
getEditedMapRectangle :: WorldOverdraw -> Maybe (Cosmic BoundsRectangle) -> MultiWorld Int Entity -> [[CellPaintDisplay]] Source #
getMapRectangle :: (d -> e) -> (Coords -> (TerrainType, Maybe d)) -> BoundsRectangle -> [[PCell e]] Source #