Class MobileStructure

All Implemented Interfaces:
Serializable, ICarryable, Transporter, InGameObject, CombatRole, ForceAssignable, ITechnology, ITurnOrdered, PhaseUpdated, RoundUpdated, BTObject, Deployable, IBuilding, Targetable

public class MobileStructure extends AbstractBuildingEntity
Not Implemented
Implementation of TO:AUE's Mobile Structures.
Extends AbstractBuildingEntity
See Also:
  • Constructor Details

    • MobileStructure

      public MobileStructure(BuildingType type, int bldgClass)
  • Method Details

    • getUnitType

      public int getUnitType()
      Specified by:
      getUnitType in class Entity
      See Also:
    • getConstructionTechAdvancement

      public TechAdvancement getConstructionTechAdvancement()
      return - the base construction option tech advancement
      Specified by:
      getConstructionTechAdvancement in class Entity
    • getMovementString

      public String getMovementString(EntityMovementType movementType)
      Returns the name of the type of movement used.
      Specified by:
      getMovementString in class Entity
    • getMovementAbbr

      public String getMovementAbbr(EntityMovementType movementType)
      Returns the abbreviation of the name of the type of movement used.
      Specified by:
      getMovementAbbr in class Entity
    • getGenericBattleValue

      public int getGenericBattleValue()
      Calculates a "generic" Battle Value that is based on the average of all units of this type and tonnage. The purpose of this generic Battle Value is to allow a comparison of this unit's actual BV to that for units of its class. This can be used to balance forces without respect to unit or pilot quality.

      The generic BV values are calculated by a statistical elasticity model based on all data from the MegaMek database.

      Specified by:
      getGenericBattleValue in class Entity
      Returns:
      The generic Battle value for this unit based on its tonnage and type
    • getMaxElevationChange

      public int getMaxElevationChange()
      The maximum elevation change the entity can cross
      Overrides:
      getMaxElevationChange in class Entity
    • hasEngine

      public boolean hasEngine()
      Overrides:
      hasEngine in class Entity