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

Swarm.Game.Scenario.Topography.EntityFacade

Description

Stand-in type for an Entity for purposes that do not require carrying around the entire state of an Entity.

Useful for simplified serialization, debugging, and equality checking, particularly for the World Editor.

Synopsis

Documentation

data EntityFacade Source #

This datatype is a lightweight stand-in for the full-fledged Entity type without the baggage of all of its other fields. It contains the bare minimum display information for rendering.