Class ClusterHitsTable

Direct Known Subclasses:
MekLocationAndClusterTable

public class ClusterHitsTable extends ReferenceTable
Table showing the relevant columns of the cluster hits table
  • Field Details

    • clusterSizes

      protected final Set<Integer> clusterSizes
    • hasATM

      protected boolean hasATM
    • hasHAG

      protected boolean hasHAG
    • condensed

      protected boolean condensed
  • Constructor Details

    • ClusterHitsTable

      public ClusterHitsTable(PrintEntity sheet, boolean condensed)
    • ClusterHitsTable

      public ClusterHitsTable(PrintRecordSheet sheet, megamek.common.units.Entity entity, boolean condensed)
    • ClusterHitsTable

      public ClusterHitsTable(PrintRecordSheet sheet, List<megamek.common.units.Entity> entities, boolean condensed)
  • Method Details

    • getSizes

      public Set<Integer> getSizes()
    • addTable

      protected void addTable(megamek.common.units.Entity entity)
    • addRows

      protected void addRows()
    • addNotes

      protected void addNotes(megamek.common.units.Entity entity)
    • required

      public boolean required()
      Returns:
      Whether the unit has any weapons that use the cluster hits table
    • columnCount

      public int columnCount()