Class SmallCraftDropshipTROView


public class SmallCraftDropshipTROView extends AeroTROView
Creates a TRO template model for small craft and DropShips
  • Constructor Details

    • SmallCraftDropshipTROView

      public SmallCraftDropshipTROView(SmallCraft aero)
  • Method Details

    • getTemplateFileName

      protected String getTemplateFileName(boolean html)
      Overrides:
      getTemplateFileName in class AeroTROView
    • initModel

      protected void initModel(EntityVerifier verifier)
      Overrides:
      initModel in class AeroTROView
    • getArcAbbr

      protected String getArcAbbr(Mounted<?> m)
      Description copied from class: AeroTROView
      Firing arc abbreviation, which may be different from mounting location for side arcs on small craft and dropships
      Overrides:
      getArcAbbr in class AeroTROView
      Parameters:
      m - The weapon mount
      Returns:
      The arc abbreviation.
    • formatLocationTableEntry

      protected String formatLocationTableEntry(Entity entity, Mounted<?> mounted)
      Description copied from class: TROView
      Formats 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:
      formatLocationTableEntry in class TROView
      Parameters:
      entity - The entity the TRO is created for
      mounted - The mounted equipment
      Returns:
      The location name to use in the table.
    • addCrew

      protected void addCrew()