Expand description
This crate contains common code for applications that draw and interact with a Map
.
Modules§
- A color scheme groups colors used for different map, dynamic, and UI elements in one place, to encourage deduplication. The player can also switch between different color schemes.
- Render static map elements.
- Assorted tools and UI states that’re useful for applications built to display maps.
Structs§
- Simple app state that just renders a static map, without any dynamic agents on the map.
Enums§
Traits§
- An application wishing to use the tools in this crate has to implement this on the struct that implements
widgetry::SharedAppState
, so that the tools here can access the map. SeeSimpleApp
for an example implementation.