Expand description
A simple, flexible layer system for managing UI states, game modes, and event handling.
Layers process events top-to-bottom for update and bottom-to-top for passive_update.
Key features:
- Easy stacking/replacing/removing of layers via
Change. - Generic over state
Sand eventsE. - Efficient for small stacks.
Structs§
- Change
- The action, that will be done after handling an event by a layer.
- Layer
Manager - The layer manager deals with the layers you create.
Enums§
- Change
Action - A special action for the layer.
Traits§
- Layer
- A trait, every layer has to implement, in order to be used by the layer manager;