Exemplo n.º 1
0
 private static void StartPlayer()
 {
     Cell startingCell = GetRandomEmptyCell();
     _player = new Player()
     {
         X = startingCell.X,
         Y = startingCell.Y
     };
 }
Exemplo n.º 2
0
 public PathToPlayer(Player player, IMap map)
 {
     _player = player;
     _map = map;
     _pathFinder = new PathFinder(map);
 }