mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-12-06 17:56:36 +01:00
485 B
485 B
Default Shipped Interfaces
Index
MM::Services::SceneServiceInterface
SceneServiceInterface
Not very stable. But I use it all over the place.
It uses EnTT.
interface
Use .getScene() to get current MM::Scene.
Use .changeScene(newScene) to queue .changeSceneNow(newScene).
Use .changeSceneNow(newScene) to change currently held MM::Scene.
Use .addSystemToScene(fn) to add a MM::System to the MM::Scene.