-
Notifications
You must be signed in to change notification settings - Fork 0
ArduScene
Vincentius Madya edited this page Apr 21, 2019
·
3 revisions
- ID of the current scene
uint8_t sceneID
- Constructor. This will be called once when the game start.
ArduScene(uint8_t _sceneID, ArduEngine &engine): sceneID(_sceneID);
-
Load
. This will be called once when we enter the scene
virtual void Load(ArduEngine &engine)
-
Run
. This will be called every frame when we're in the scene
virtual void Run(ArduEngine &engine)
-
Destroy
. This will be called once when we leave the scene
virtual void Destroy(ArduEngine &engine)