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