Class ReinforcedRepairFacility

All Implemented Interfaces:
Serializable, ITechnology, Transporter

public class ReinforcedRepairFacility extends NavalRepairFacility
Reinforced naval repair facility allows ship to expend thrust with docked unit. Only available unpressurized. See TacOps 334-5 for rules.
See Also:
  • Constructor Details

    • ReinforcedRepairFacility

      protected ReinforcedRepairFacility()
      The default constructor is only for serialization.
    • ReinforcedRepairFacility

      public ReinforcedRepairFacility(double size, int doors, int bayNumber, int facing)
      Create a new repair facility
      Parameters:
      size - Maximum capacity in tons
      doors -
      bayNumber -
      facing - The armor facing of the facility
  • Method Details

    • isPressurized

      public boolean isPressurized()
      Description copied from class: NavalRepairFacility
      Pressurized facility allows crew to work without encumbrance of life support gear. No game effect that I could find.
      Overrides:
      isPressurized in class NavalRepairFacility
      Returns:
      Whether the facility is pressurized.
    • getType

      public String getType()
      Specified by:
      getType in interface Transporter
      Overrides:
      getType in class NavalRepairFacility
    • getWeight

      public double getWeight()
      Overrides:
      getWeight in class NavalRepairFacility
      Returns:
      the tonnage of the bay, not the actual mass or weight
    • toString

      public String toString()
      Description copied from class: Bay
      Updated toString() and helpers to normalize bay string output To match new 6-field format: type:space(current or total):doors:bayNumber:infantryType:facing:status bitmap See BLKFile.java:BLKFile constants
      Overrides:
      toString in class NavalRepairFacility
    • getUnusedString

      public String getUnusedString(boolean showRecovery)
      Description copied from class: Bay
      Return a string that identifies the unused capacity of this transporter.
      Overrides:
      getUnusedString in class NavalRepairFacility
      Returns:
      A String meant for a human.
    • techAdvancement

      public static TechAdvancement techAdvancement()
    • getCost

      public long getCost()
      Overrides:
      getCost in class NavalRepairFacility
      Returns:
      The cost of the bay in C-bills