swarm-0.3.0.0: 2D resource gathering game with programmable robots
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.TUI.View.CellDisplay

Synopsis

Documentation

drawLoc :: Bool -> GameState -> Coords -> Widget Name Source #

Render the Display for a specific location.

displayLoc :: Bool -> GameState -> Coords -> Display Source #

Get the Display for a specific location, by combining the Displays for the terrain, entity, and robots at the location.