5#ifndef MALENA_SCENELIFECYCLE_H
6#define MALENA_SCENELIFECYCLE_H
Trait that adds scene transition lifecycle hooks to any class.
virtual void onSceneExit()
Called every time this scene is deactivated.
virtual ~SceneLifecycle()=default
virtual void onSceneResume()
Called when this scene is returned to the foreground.
virtual void onSceneEnter()
Called every time this scene becomes the active scene.
virtual void onScenePause()
Called when this scene is pushed to the background by another scene.