BattleShip.Ship.rotateBoat C# (CSharp) Метод

rotateBoat() публичный Метод

rotate the boat (inverse the height and the width of the boat)
public rotateBoat ( ) : void
Результат void
        public void rotateBoat()
        {
            int swap = 0;
            swap = this.HeightCase;
            this.HeightCase = this.WidthCase;
            this.WidthCase = swap;
        }