public void Initialize(GameManager gameManager, InputHandler inputHandler) { _gameManager = gameManager; _keyHandler = inputHandler._keyHandler; _mouseHandler = inputHandler._mouseHandler; }
public InputHandler(HomelandsGame game) { _game = game; _mouseHandler = new MouseHandlerHomelands(_game._locations); _keyHandler = new KeyHandlerHomelands(_game); }