Пример #1
0
        private void FinaliseSelection(bool changePlayer)
        {
            foreach (var ship in _placedShips)
            {
                _gameController.AddShip(ship.GetShipPoints());
            }

            if (changePlayer)
            {
                _gameController.ChangeToNextPlayer();
            }

            _placedShips.Clear();

            MoveToNextStep();
        }