Expand description
This crate contains common code for applications that draw and interact with a Map
.
Modules§
- colors
- 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.
- load
- options
- render
- Render static map elements.
- simple_
app 🔒 - tools
- Assorted tools and UI states that’re useful for applications built to display maps.
Structs§
- Simple
App - Simple app state that just renders a static map, without any dynamic agents on the map.
- Simple
AppArgs
Enums§
Traits§
- AppLike
- 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.