Only two variables are at our disposal in the scene, it’s better to not touch these variables, but to deal with them by using the appropriate functions.
name = "the name of the scene, used when loading a new scene"
entities = "[] an array of Entities loaded in the scene"
// creating a **new** Scene will require at least a NAME
constructor(NAME)
// override this to setup the scene
// in here is best practice to **Add** Entities to the scene
// the Entities **Added** here will be the initial setup of the scene
// every time its loaded
const Init()
// addes an Entity to the scene and calls the Start() function on that Entity
// this is best used at runtime, for example to create a bullet
const Instantiate = (entity, x = 0, y = 0, rotation = 0, scaleX = 1,scaleY = 1)
// finds an Entity that has the specified TAG
const FindWithTag(TAG)
// Destroys an ENTITY and removes it from the Scene
const Destroy(ENTITY)