Class Crayer

  • All Implemented Interfaces:
    ICrayer, INavigableVessel, IShip

    public class Crayer
    extends Ship
    implements ICrayer
    This model represents a crayer.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2011 Created on Nov 19, 2011
    • Constructor Detail

      • Crayer

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

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

      • 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