示例#1
0
 public GraphicsManager(GameField field, GameManager gameManager, ScoreManager scoreManager)
 {
     _field = field;
     _gameManager = gameManager;
     _scoreFont = new Font("Courier New", 18);
     _scoreManager = scoreManager;
 }
示例#2
0
        public InputManager(GameField field, GameManager gameManager, GameWindow gameWindow)
        {
            _field = field;
            _gameManager = gameManager;

            gameWindow.KeyDown += KeyDown;
            gameWindow.KeyUp += KeyUp;
        }