Module mooeye::scene_manager

source ·
Expand description

Contains a scene manager and the scene trait.

Structs

  • A SceneManager instance. When using a game with multiple scenes, the scene_handler replaces you usual game manager. SceneManager implements EventHandler as a usual gamestate would and can thus interact with ggez without problems.

Enums

  • A SceneSwitch. An element of this type is returned from every scene every frame to check if the scene wants to switch to another scene.

Traits