internal GameApp(GameLoop gameLoop, WorldRenderer renderer, UiRenderer uiRenderer, GameControl gameControl, GameController gameController, GameConnectionManager connectionManager) { _gameLoop = gameLoop; _renderer = renderer; _uiRenderer = uiRenderer; _gameControl = gameControl; _gameController = gameController; _connectionManager = connectionManager; _gameController.IsKeyPressedCallback = IsKeyPressed; _gameLoop.Reset(); }