Exemple #1
0
 public GameLogic(Dictionary <IPlayer, ICharacter> playerList, Block [,] map, GameTracker tracker)
 {
     _playerList = playerList;
     _map        = map;
     _tracker    = tracker;
     _characters = _playerList.Values.ToList();
 }
Exemple #2
0
 public PacmanGame(Dictionary <IPlayer, ICharacter> playerList, Block [,] map, Presenter presenter)
 {
     _playerList = playerList;
     _map        = map;
     _tracker    = new GameTracker(3);
     _gameLogic  = new GameLogic(playerList, map, _tracker);
     _presenter  = presenter;
 }