swarm-0.6.0.0: 2D resource gathering game with programmable robots
LicenseBSD-3-Clause
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.Game.Scenario.Topography.Center

Description

Utility for determining the center of the map, outside the context of a running game

Synopsis

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)