| License | BSD-3-Clause |
|---|---|
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Swarm.Game.Scenario.Topography.Center
Description
Utility for determining the center of the map, outside the context of a running game
Synopsis
- determineStaticViewCenter :: ScenarioLandscape -> NonEmpty SubworldDescription -> Cosmic Location
Documentation
determineStaticViewCenter :: ScenarioLandscape -> NonEmpty SubworldDescription -> Cosmic Location Source #
Determine view center for a static map
without reference to a GameState
(i.e. outside the context of an active game)