/// <summary> /// Update portions of the game loop done here. /// </summary> /// <param name="gameTime"></param> internal void Update(IGameTime gameTime) { if (FirstUpdate) { FirstUpdate = false; } _input.Update(gameTime); ActiveGameStage.Input = _input; ActiveGameStage.Update(gameTime); }
/// <summary> /// Render portions of the game loop here. /// </summary> /// <param name="gameTime"></param> internal void Render(IGameTime gameTime) { ActiveGameStage?.Render(gameTime); }