-
Notifications
You must be signed in to change notification settings - Fork 0
Scenes
Scene scene = new Scene()
Scene scene = new Scene(string name)
Scene scene = new Scene(List<GameObject> gameObjects, string name)
-
Scene.gameObjects(List<GameObject): A list of every GameObject included within a scene. -
Scene.Name(string): Currently unused. Will be used when switching between scenes. -
Scene.map(TileMap): Scene's tilemap. -
Scene.InitializeMap()(function): Updates the scene based on it's tilemap. Used when loading a new Tilemap. -
Scene.FindGameObject(string name)(GameObject): Used to find a GameObject within a scene of a certain name. -
Scene.FindGameObjects(string name)(List): Used to find multiple GameObjects within a scene of a certain name. -
Scene.Update(GameTime)(function): Gets called every frame. Used to cycle through the update methods of every GameObject. -
Scene.Draw()(function): Handles rendering. Used to cycle through the draw methods of every GameObject.