Class PillionSeatCargoBay

All Implemented Interfaces:
Serializable, Transporter, ITechnology

public final class PillionSeatCargoBay extends StandardSeatCargoBay
Represents an external or exposed support vehicle crew seat.
See Also:
  • Constructor Details

    • PillionSeatCargoBay

      public PillionSeatCargoBay(double space)
      Creates pillion crew seating for support vehicles.
      Parameters:
      space - The number of seats
  • Method Details

    • 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 StandardSeatCargoBay
      Returns:
      A String meant for a human.
    • getTransporterType

      public String getTransporterType()
      Specified by:
      getTransporterType in interface Transporter
      Overrides:
      getTransporterType in class StandardSeatCargoBay
    • 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 StandardSeatCargoBay
    • getCost

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