示例#1
0
 public PlayGrid(PlayGrid grid)
 {
     this.PlayerGrid = grid.PlayerGrid;
     this.IsHidden   = grid.IsHidden;
     this.HiddenGrid = grid.HiddenGrid;
     this.Ships      = grid.Ships;
     this.GameEnd    = grid.GameEnd;
     this.PlayerSave = grid.PlayerSave;
     this.HiddenSave = grid.HiddenSave;
 }
示例#2
0
 public Board()
 {
     PlayerGrid   = new PlayGrid();
     ComputerGrid = new PlayGrid();
 }