DSC Engine
|
An active game execution part
More...
#include <scene.hpp>
Public Member Functions | |
Scene ()=default | |
Creates a new Scene instance More... | |
SceneCom * | close () |
Closes this scene and clears all its resources. More... | |
virtual void | init () |
Contains Scene initialization routines (setting variables, loading VRAM etc.) More... | |
virtual void | frame () |
The Scene main loop logic. This method is executed at VBlank. More... | |
__attribute__ ((noinline)) virtual void run() | |
Public Attributes | |
Event | key_down |
Key down event. | |
Event | key_held |
Key held event. | |
Event | key_up |
Key up event. | |
An active game execution part
|
default |
Creates a new Scene instance
SceneCom * DSC::Scene::close | ( | ) |
Closes this scene and clears all its resources.
|
virtual |
The Scene main loop logic. This method is executed at VBlank.
Reimplemented in DSC::GenericScene256, and DSC::SceneTemplates::VisualNovelScene.
|
virtual |
Contains Scene initialization routines (setting variables, loading VRAM etc.)
Reimplemented in DSC::GenericScene256, and DSC::SceneTemplates::VisualNovelScene.