Ejemplo n.º 1
0
 public BattleshipGame(int seed, Difficulty diff)
 {
     Player        = new PrimaryBoard();
     AI            = new PrimaryBoard();
     PlayerTracker = new TrackerBoard();
     AITracker     = new TrackerBoard();
     Difficulty    = diff;
     Seed          = seed;
 }
Ejemplo n.º 2
0
 public void SetSource(TrackerBoard board)
 {
     Source              = board;
     Source.TileChanged += (o, e) => Invalidate();
     Invalidate();
 }