Enum Class ShipLandingMode

java.lang.Object
java.lang.Enum<ShipLandingMode>
net.jcm.vsch.config.ShipLandingMode
All Implemented Interfaces:
Serializable, Comparable<ShipLandingMode>, Constable

public enum ShipLandingMode extends Enum<ShipLandingMode>
  • Enum Constant Details

    • PLAYER_MENU

      public static final ShipLandingMode PLAYER_MENU
      Always use the player menu to make ship land on a planet. A ship without player nearby will not land and may get freezed in the space untill a player appear and lands it.
    • HISTORY

      public static final ShipLandingMode HISTORY
      When a ship is near a planet, the history launch position will be used for the ship to land. If no history is present, the ship will land at the origin.
    • AUTO_HISTORY

      public static final ShipLandingMode AUTO_HISTORY
      When a ship is near a planet with a player, will be used When a ship is near a planet and there is no player nearby, will be used
  • Method Details

    • values

      public static ShipLandingMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ShipLandingMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • canOpenMenu

      public boolean canOpenMenu()
    • canUseHistory

      public boolean canUseHistory()