Expand description
Optional, statically typed extensions composed by a game.
A plugin is an ordinary Cargo dependency. The game owns its instances and
chooses when to call each hook, passing the same public contexts it receives
from crate::Game. There is no registry, scheduler, implicit dispatch, or
dependency from the engine to plugin crates. See crate::guides::plugins.
Traitsยง
- Plugin
- Opt-in lifecycle hooks over explicitly shared, game-owned state.