Class Holk

    • Constructor Detail

      • Holk

        public Holk​(EShipUpgrade upgradeLevel,
                    java.lang.String name)
        Constructor initializing the name and the upgrade level
        Parameters:
        upgradeLevel - initial upgrade level
        name - ships name
      • Holk

        public Holk​(java.lang.String name)
        Constructor for a Crayer without any upgrade
        Parameters:
        name - ships name
    • Method Detail

      • init

        @PostConstruct
        private void init()
      • getShipType

        public EShipType getShipType()
        Description copied from interface: IShip
        Retrieve the type of the ship.
        Specified by:
        getShipType in interface IShip
        Returns:
        type of the ship