megamek.common
Class UnitType

java.lang.Object
  extended by megamek.common.UnitType

public class UnitType
extends java.lang.Object

weight class limits and names


Field Summary
static int AERO
           
static int BATTLE_ARMOR
           
static int CONV_FIGHTER
           
static int DROPSHIP
           
static int GUN_EMPLACEMENT
           
static int INFANTRY
           
static int JUMPSHIP
           
static int MEK
           
static int NAVAL
           
static int PROTOMEK
           
static int SIZE
           
static int SMALL_CRAFT
           
static int SPACE_STATION
           
static int TANK
           
static int VTOL
           
static int WARSHIP
           
 
Constructor Summary
UnitType()
           
 
Method Summary
static java.lang.String determineUnitType(Entity e)
           
static int determineUnitTypeCode(Entity e)
           
static java.lang.String getTypeDisplayableName(int type)
           
static java.lang.String getTypeName(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MEK

public static final int MEK
See Also:
Constant Field Values

TANK

public static final int TANK
See Also:
Constant Field Values

BATTLE_ARMOR

public static final int BATTLE_ARMOR
See Also:
Constant Field Values

INFANTRY

public static final int INFANTRY
See Also:
Constant Field Values

PROTOMEK

public static final int PROTOMEK
See Also:
Constant Field Values

VTOL

public static final int VTOL
See Also:
Constant Field Values

NAVAL

public static final int NAVAL
See Also:
Constant Field Values

GUN_EMPLACEMENT

public static final int GUN_EMPLACEMENT
See Also:
Constant Field Values

CONV_FIGHTER

public static final int CONV_FIGHTER
See Also:
Constant Field Values

AERO

public static final int AERO
See Also:
Constant Field Values

SMALL_CRAFT

public static final int SMALL_CRAFT
See Also:
Constant Field Values

DROPSHIP

public static final int DROPSHIP
See Also:
Constant Field Values

WARSHIP

public static final int WARSHIP
See Also:
Constant Field Values

JUMPSHIP

public static final int JUMPSHIP
See Also:
Constant Field Values

SPACE_STATION

public static final int SPACE_STATION
See Also:
Constant Field Values

SIZE

public static final int SIZE
Constructor Detail

UnitType

public UnitType()
Method Detail

determineUnitType

public static java.lang.String determineUnitType(Entity e)

determineUnitTypeCode

public static int determineUnitTypeCode(Entity e)

getTypeName

public static java.lang.String getTypeName(int type)

getTypeDisplayableName

public static java.lang.String getTypeDisplayableName(int type)