Skip to content

ArduScene

Vincentius Madya edited this page Apr 21, 2019 · 3 revisions

Variable

  1. ID of the current scene
uint8_t sceneID

Method

  1. Constructor. This will be called once when the game start.
ArduScene(uint8_t _sceneID, ArduEngine &engine): sceneID(_sceneID);
  1. Load. This will be called once when we enter the scene
virtual void Load(ArduEngine &engine)
  1. Run. This will be called every frame when we're in the scene
virtual void Run(ArduEngine &engine)
  1. Destroy. This will be called once when we leave the scene
virtual void Destroy(ArduEngine &engine)
Clone this wiki locally