コード例 #1
0
 private void UndoAdded(int shipNumb, bool deleteAll)
 {
     UndoAddedShip(shipNumb);
     Board.ClearBoard();
     if (!deleteAll)
     {
         for (int i = 0; i < shipNumb; ++i)
         {
             DrawShip(i);
             MarkShipNeighborhood(false, i);
         }
     }
 }