Enum Class EntityMovementMode

java.lang.Object
java.lang.Enum<EntityMovementMode>
megamek.common.units.EntityMovementMode
All Implemented Interfaces:
Serializable, Comparable<EntityMovementMode>, Constable

public enum EntityMovementMode extends Enum<EntityMovementMode>
This enum represents the various Entity Movement Types
  • Enum Constant Details

  • Method Details

    • values

      public static EntityMovementMode[] 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 EntityMovementMode 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
    • isNone

      public boolean isNone()
    • isBiped

      public boolean isBiped()
    • isTripod

      public boolean isTripod()
    • isQuad

      public boolean isQuad()
    • isTracked

      public boolean isTracked()
    • isWheeled

      public boolean isWheeled()
    • isHover

      public boolean isHover()
    • isVTOL

      public boolean isVTOL()
    • isNaval

      public boolean isNaval()
    • isHydrofoil

      public boolean isHydrofoil()
    • isSubmarine

      public boolean isSubmarine()
    • isLegInfantry

      public boolean isLegInfantry()
    • isMotorizedInfantry

      public boolean isMotorizedInfantry()
    • isJumpInfantry

      public boolean isJumpInfantry()
    • isBipedSwim

      public boolean isBipedSwim()
    • isQuadSwim

      public boolean isQuadSwim()
    • isWiGE

      public boolean isWiGE()
    • isAerodyne

      public boolean isAerodyne()
    • isSpheroid

      public boolean isSpheroid()
    • isUMUInfantry

      public boolean isUMUInfantry()
    • isAerospace

      public boolean isAerospace()
    • isAirship

      public boolean isAirship()
    • isStationKeeping

      public boolean isStationKeeping()
    • isRail

      public boolean isRail()
    • isMaglev

      public boolean isMaglev()
    • isTrackedOrWheeled

      public boolean isTrackedOrWheeled()
    • isTrackedWheeledOrHover

      public boolean isTrackedWheeledOrHover()
    • isCombatVehicle

      public boolean isCombatVehicle()
    • isInfantryVehicle

      public boolean isInfantryVehicle()
    • isHoverOrWiGE

      public boolean isHoverOrWiGE()
    • isVTOLOrWiGE

      public boolean isVTOLOrWiGE()
    • isHoverVTOLOrWiGE

      public boolean isHoverVTOLOrWiGE()
    • isMarine

      public boolean isMarine()
    • isTrain

      public boolean isTrain()
    • isJumpOrLegInfantry

      public boolean isJumpOrLegInfantry()
    • detonatesGroundMinefields

      public boolean detonatesGroundMinefields()
      Whether this movement mode is capable of detonating minefields.
    • getCombatVehicleModes

      @Deprecated(since="0.51.0", forRemoval=true) public static List<EntityMovementMode> getCombatVehicleModes()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getInfantryVehicleModes

      @Deprecated(since="0.51.0", forRemoval=true) public static List<EntityMovementMode> getInfantryVehicleModes()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • parseFromString

      public static EntityMovementMode parseFromString(String text)
      Parameters:
      text - the string to parse
      Returns:
      the EntityMovementMode, or NONE if there is an error in parsing
    • toString

      public String toString()
      Overrides:
      toString in class Enum<EntityMovementMode>