//Генерация новых свойств
        public NewShipProperties NextShipProps()
        {
            //декремент индекса
            currentIndex--;
            if (HasNext())
            {
                //если ещё можна, создаем новыесвойства
                currentShipProps = new NewShipProperties(Ships[currentIndex], isHorizontal);
            }
            else
            {
                currentShipProps = null;
            }

            return(currentShipProps);
        }
 //перезапустить итератор
 public void Reset()
 {
     currentIndex     = MaxIndex;
     currentShipProps = new NewShipProperties(Ships[currentIndex], isHorizontal);
 }