com.mekmaker.designer
Class TotalWarfareBattleMechDesigner
java.lang.Object
com.mekmaker.common.AbstractEntity
com.mekmaker.common.AbstractDesigner
com.mekmaker.designer.TotalWarfareBattleMechDesigner
public class TotalWarfareBattleMechDesigner
- extends AbstractDesigner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SECTION_HD
public static final int SECTION_HD
- See Also:
- Constant Field Values
SECTION_LA
public static final int SECTION_LA
- See Also:
- Constant Field Values
SECTION_RA
public static final int SECTION_RA
- See Also:
- Constant Field Values
SECTION_LT
public static final int SECTION_LT
- See Also:
- Constant Field Values
SECTION_CT
public static final int SECTION_CT
- See Also:
- Constant Field Values
SECTION_RT
public static final int SECTION_RT
- See Also:
- Constant Field Values
SECTION_LL
public static final int SECTION_LL
- See Also:
- Constant Field Values
SECTION_RL
public static final int SECTION_RL
- See Also:
- Constant Field Values
TotalWarfareBattleMechDesigner
public TotalWarfareBattleMechDesigner()
- Creates a new instance of BattleMechDesigner
getMainType
public java.lang.String getMainType()
- Specified by:
getMainType in class AbstractDesigner
getSubType
public java.lang.String getSubType()
- Specified by:
getSubType in class AbstractDesigner
setupOverviewJPanel
protected AbstractDesignerJPanel setupOverviewJPanel()
- Specified by:
setupOverviewJPanel in class AbstractDesigner
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in class AbstractDesigner
updateStatusBar
public boolean updateStatusBar()
- Description copied from class:
AbstractDesigner
- clears the status bar - returns true if there is a status bar
- Overrides:
updateStatusBar in class AbstractDesigner
setTonnage
public void setTonnage(float tonnage)
- Overrides:
setTonnage in class AbstractEntity
getSection
public Section getSection(int section)
getArmorType
public ArmorTypes getArmorType()
getArmorWeight
public float getArmorWeight()
setArmorType
public void setArmorType(int type)
addArmor
public void addArmor(int section)
addArmor
public void addArmor(int section,
boolean rear)
removeArmor
public void removeArmor(int section,
boolean rear)
removeArmor
public void removeArmor(int section)
getSectionNames
public java.lang.String[] getSectionNames()
getMotiveType
public MotiveTypes getMotiveType()
setMotiveType
public void setMotiveType(int type)
setWalkMP
public void setWalkMP(int walkMP)
setGyroType
public void setGyroType(int type)
setEngineType
public void setEngineType(int type)
getEngineRating
public int getEngineRating()
getEngineWeight
public float getEngineWeight()
getWalkMP
public int getWalkMP()
getRunMP
public int getRunMP()
getGyroWeight
public float getGyroWeight()
setTechnologyBase
public void setTechnologyBase(int tech)
- Sets the technology base and tries to reapply all other type settings.
setInternalStructureType
public void setInternalStructureType(int type)
- set internal structure type
setCockpitType
public void setCockpitType(int type)
getInternalStructureWeight
public float getInternalStructureWeight()
getAvailableTonnage
public float getAvailableTonnage()
- tally total tonnage available
getUsedTonnage
public float getUsedTonnage()
- tally tonnage used
getInternalStructureType
public InternalStructureTypes getInternalStructureType()
getTechnologyBase
public TechnologyBases getTechnologyBase()
getEngineType
public EngineTypes getEngineType()
getGyroType
public GyroTypes getGyroType()
getCockpitType
public CockpitTypes getCockpitType()
setJumpMP
public void setJumpMP(int jumpMP)
setUseImprovedJumpJets
public void setUseImprovedJumpJets(boolean onoff)
isUsingImprovedJumpJets
public boolean isUsingImprovedJumpJets()
getJumpMP
public int getJumpMP()
getJumpJetWeight
public float getJumpJetWeight()
setAdditionalHeatSinks
public void setAdditionalHeatSinks(int count)
getAdditionalHeatSinkCount
public int getAdditionalHeatSinkCount()
getHeatSinkWeight
public float getHeatSinkWeight()
getHeatSinkCount
public int getHeatSinkCount()
getBaseHeatSinkCount
public int getBaseHeatSinkCount()
getIntegralHeatSinkCount
public int getIntegralHeatSinkCount()
getHeatSinkSlotsRequiredCount
public int getHeatSinkSlotsRequiredCount()
setHeatSinkType
public void setHeatSinkType(int type)
getHeatSinkType
public HeatSinkTypes getHeatSinkType()
getHeatSinkHeatDissipation
public int getHeatSinkHeatDissipation()