protected override void Update(GameTime gameTime) { if (_isFirstUpdate) { GameSystems.Update(gameTime); // HACK: need to force a first update flag inside this instance even if its empty _gameEngine.InitialUpdate(); _isFirstUpdate = false; return; } // Don't call base.Update(gameTime); since this everything must be updated through _gameEngine _gameEngine.Update(); }
/// <summary> /// Reference page contains links to related conceptual articles. /// </summary> /// <param name="gameTime"> /// Time passed since the last call to Update. /// </param> protected virtual void Update(GameTime gameTime) { GameSystems.Update(gameTime); }
private void Update() { _gameManagers.Update(); _gameSystems.Update(); }