megamek.common
Class EntityWeightClass

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

public class EntityWeightClass
extends java.lang.Object

weight class limits and names


Field Summary
static int SIZE
           
static int WEIGHT_ASSAULT
           
static int WEIGHT_BA_ASSAULT
           
static int WEIGHT_BA_HEAVY
           
static int WEIGHT_BA_LIGHT
           
static int WEIGHT_BA_MEDIUM
           
static int WEIGHT_BA_PAL
           
static int WEIGHT_HEAVY
           
static int WEIGHT_LARGE_DROP
           
static int WEIGHT_LARGE_WAR
           
static int WEIGHT_LIGHT
           
static int WEIGHT_MEDIUM
           
static int WEIGHT_MEDIUM_DROP
           
static int WEIGHT_SMALL_CRAFT
           
static int WEIGHT_SMALL_DROP
           
static int WEIGHT_SMALL_WAR
           
 
Constructor Summary
EntityWeightClass()
           
 
Method Summary
static float getClassLimit(int wClass)
           
static java.lang.String getClassName(int wClass)
           
static int getWeightClass(float tonnage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEIGHT_BA_PAL

public static final int WEIGHT_BA_PAL
See Also:
Constant Field Values

WEIGHT_BA_LIGHT

public static final int WEIGHT_BA_LIGHT
See Also:
Constant Field Values

WEIGHT_BA_MEDIUM

public static final int WEIGHT_BA_MEDIUM
See Also:
Constant Field Values

WEIGHT_BA_HEAVY

public static final int WEIGHT_BA_HEAVY
See Also:
Constant Field Values

WEIGHT_BA_ASSAULT

public static final int WEIGHT_BA_ASSAULT
See Also:
Constant Field Values

WEIGHT_LIGHT

public static final int WEIGHT_LIGHT
See Also:
Constant Field Values

WEIGHT_MEDIUM

public static final int WEIGHT_MEDIUM
See Also:
Constant Field Values

WEIGHT_HEAVY

public static final int WEIGHT_HEAVY
See Also:
Constant Field Values

WEIGHT_ASSAULT

public static final int WEIGHT_ASSAULT
See Also:
Constant Field Values

WEIGHT_SMALL_CRAFT

public static final int WEIGHT_SMALL_CRAFT
See Also:
Constant Field Values

WEIGHT_SMALL_DROP

public static final int WEIGHT_SMALL_DROP
See Also:
Constant Field Values

WEIGHT_MEDIUM_DROP

public static final int WEIGHT_MEDIUM_DROP
See Also:
Constant Field Values

WEIGHT_LARGE_DROP

public static final int WEIGHT_LARGE_DROP
See Also:
Constant Field Values

WEIGHT_SMALL_WAR

public static final int WEIGHT_SMALL_WAR
See Also:
Constant Field Values

WEIGHT_LARGE_WAR

public static final int WEIGHT_LARGE_WAR
See Also:
Constant Field Values

SIZE

public static final int SIZE
Constructor Detail

EntityWeightClass

public EntityWeightClass()
Method Detail

getWeightClass

public static int getWeightClass(float tonnage)

getClassLimit

public static float getClassLimit(int wClass)

getClassName

public static java.lang.String getClassName(int wClass)