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