Class Snaikka

    • Constructor Detail

      • Snaikka

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

        public Snaikka​(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