Scene scene = new Scene() Scene scene = new Scene(string name) Scene scene = new Scene(List<GameObject> gameObjects, string name)
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.gameObjects
Scene.Name(string): Currently unused. Will be used when switching between scenes.
Scene.Name
Scene.map(TileMap): Scene's tilemap.
Scene.map
Scene.InitializeMap()(function): Updates the scene based on it's tilemap. Used when loading a new Tilemap.
Scene.InitializeMap()
Scene.FindGameObject(string name)(GameObject): Used to find a GameObject within a scene of a certain name.
Scene.FindGameObject(string name)
Scene.FindGameObjects(string name)(List): Used to find multiple GameObjects within a scene of a certain name.
Scene.FindGameObjects(string name)
Scene.Update(GameTime)(function): Gets called every frame. Used to cycle through the update methods of every GameObject.
Scene.Update(GameTime)
Scene.Draw()(function): Handles rendering. Used to cycle through the draw methods of every GameObject.
Scene.Draw()
There was an error while loading. Please reload this page.