/// <summary> /// Makes sure that the currently active game state calls HandleInput. /// </summary> /// <param name="inputHelper">The input helper to use.</param> public void HandleInput(InputHelper inputHelper) { if (currentGameState != null) { currentGameState.HandleInput(inputHelper); } }
public void HandleInput(GameTime gameTime) { _current.HandleInput(gameTime); }
public void HandleInput(InputHelper inputHelper) { currentGameState?.HandleInput(inputHelper); }