Package megamek.common.templates
Class SupportVeeTROView
java.lang.Object
megamek.common.templates.TROView
megamek.common.templates.SupportVeeTROView
Creates a TRO template model for support vehicles.
-
Nested Class Summary
Nested classes/interfaces inherited from class megamek.common.templates.TROView
TROView.FormatTableRowMethod, TROView.Justification -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intaddEquipment(Entity entity, boolean includeAmmo) protected StringformatLocationTableEntry(Entity entity, Mounted<?> mounted) Formats displayable location name for use in equipment table.protected StringgetTemplateFileName(boolean html) protected voidinitModel(EntityVerifier verifier) protected booleanTest for whether the mount should be included in the equipment inventory section.Methods inherited from class megamek.common.templates.TROView
addArmorStructureEntries, addBasicData, addEntityFluff, addEquipment, addFixedOmni, addMekVeeAeroFluff, addPatchworkATs, addTransportBays, createView, formatArmorType, formatArmorType, formatSystemFluff, formatTransporter, getIncludeFluff, getModelData, getSystemName, processTemplate, setIncludeFluff, setModelData, showFixedSystem, stripNotes
-
Constructor Details
-
SupportVeeTROView
-
-
Method Details
-
getTemplateFileName
- Overrides:
getTemplateFileNamein classTROView
-
initModel
-
formatLocationTableEntry
Description copied from class:TROViewFormats displayable location name for use in equipment table. The format of the name can vary by unit type due to available space based on number of columns, and in some cases the official TROs have different location names than the ones used by MM.- Overrides:
formatLocationTableEntryin classTROView- Parameters:
entity- The entity the TRO is created formounted- The mounted equipment- Returns:
- The location name to use in the table.
-
addEquipment
- Overrides:
addEquipmentin classTROView
-
skipMount
Description copied from class:TROViewTest for whether the mount should be included in the equipment inventory section.
-