/// <summary> /// Update scene object's state. /// </summary> public void Update() { ScriptList scripts = this.Scripts; foreach (Script script in scripts) { script.Update(); } }
/// <summary> /// Update scene object's state. /// </summary> /// <param name="elapsedTime">elapsed time (in milliseconds)</param> public void Update(double elapsedTime) { if (this.Enabled) { ScriptList scriptList = this.ScriptList; foreach (var script in scriptList) { script.Update(elapsedTime); } } }