// ///////////////////////////////////////////////////////////////////////////////// // ///////////////////////////////////////////////////////////////////////////////// /// <summary> /// Called each iteration of the main loop (each frame). /// Override and add specific logic update code after calling base method. /// </summary> protected virtual void Update() { if (UpdateEventHandler != null) { UpdateEventHandler(this, EventArgs.Empty); } uint elapsed = TCODSystem.getElapsedMilli(); CurrentWindow.OnTick(); Input.Update(elapsed); }