示例#1
0
        public void addBattleShips(int x1, int y1, int x2, int y2)
        {
            BattleShip bs = new BattleShip(x1, y1, x2, y2);

            allBattleShips.Add(bs);
            this.board.drawShip(x1, y1, x2, y2);
        }
示例#2
0
 public void addToSunklist(BattleShip bs)
 {
     sunkedShips.Add(bs);
 }