Package megamek.common.templates
Class SmallCraftDropshipTROView
java.lang.Object
megamek.common.templates.TROView
megamek.common.templates.AeroTROView
megamek.common.templates.SmallCraftDropshipTROView
Creates a TRO template model for small craft and DropShips
-
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 voidaddCrew()protected StringformatLocationTableEntry(Entity entity, Mounted<?> mounted) Formats displayable location name for use in equipment table.protected StringgetArcAbbr(Mounted<?> m) Firing arc abbreviation, which may be different from mounting location for side arcs on small craft and dropshipsprotected StringgetTemplateFileName(boolean html) protected voidinitModel(EntityVerifier verifier) Methods inherited from class megamek.common.templates.AeroTROView
addAmmo, addCrewEntry, addWeaponBays, skipMountMethods inherited from class megamek.common.templates.TROView
addArmorStructureEntries, addBasicData, addEntityFluff, addEquipment, addEquipment, addFixedOmni, addMekVeeAeroFluff, addPatchworkATs, addTransportBays, createView, formatArmorType, formatArmorType, formatSystemFluff, formatTransporter, getIncludeFluff, getModelData, getSystemName, processTemplate, setIncludeFluff, setModelData, showFixedSystem, stripNotes
-
Constructor Details
-
SmallCraftDropshipTROView
-
-
Method Details
-
getTemplateFileName
- Overrides:
getTemplateFileNamein classAeroTROView
-
initModel
- Overrides:
initModelin classAeroTROView
-
getArcAbbr
Description copied from class:AeroTROViewFiring arc abbreviation, which may be different from mounting location for side arcs on small craft and dropships- Overrides:
getArcAbbrin classAeroTROView- Parameters:
m- The weapon mount- Returns:
- The arc abbreviation.
-
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.
-
addCrew
protected void addCrew()
-