Package megameklab.ui.listeners
Interface AeroBuildListener
- All Superinterfaces:
BuildListener
- All Known Implementing Classes:
ASStructureTab
Listener for views used by aerospace units.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcargoSpaceChanged(megamek.common.verifier.BayData bayType, double fixed, double pod) Notify of a change in the size of a cargo bayvoidcockpitChanged(int cockpitType) voiddniCockpitModChanged(boolean hasMod) Notify of a change in DNI Cockpit Modification status.voidengineChanged(megamek.common.equipment.Engine engine) voidfighterTypeChanged(int type) voidomniChanged(boolean omni) voidvoidtonnageChanged(double tonnage) voidtroopSpaceChanged(double fixed, double pod) Notify of a change in the size of any infantry compartmentvoidvstolChanged(boolean vstol) Methods inherited from interface megameklab.ui.listeners.BuildListener
chassisChanged, clanNameChanged, factionChanged, fuelCapacityChanged, fuelTonnageChanged, fuelTypeChanged, heatSinkBaseCountChanged, heatSinksChanged, heatSinksChanged, jumpChanged, jumpTypeChanged, manualBVChanged, modelChanged, mulIdChanged, redistributePrototypeHS, refreshSummary, riscHeatSinkOverrideKitChanged, roleChanged, sourceChanged, techBaseChanged, techLevelChanged, updateTechLevel, walkChanged, yearChanged
-
Method Details
-
tonnageChanged
void tonnageChanged(double tonnage) -
omniChanged
void omniChanged(boolean omni) -
vstolChanged
void vstolChanged(boolean vstol) -
fighterTypeChanged
void fighterTypeChanged(int type) -
engineChanged
void engineChanged(megamek.common.equipment.Engine engine) -
cockpitChanged
void cockpitChanged(int cockpitType) -
resetChassis
void resetChassis() -
troopSpaceChanged
void troopSpaceChanged(double fixed, double pod) Notify of a change in the size of any infantry compartment- Parameters:
fixed- The weight in tons of the infantry compartmentpod- The weight in tons of any pod-mounted infantry compartment
-
cargoSpaceChanged
void cargoSpaceChanged(megamek.common.verifier.BayData bayType, double fixed, double pod) Notify of a change in the size of a cargo bay- Parameters:
bayType- The type of bayfixed- The size of a fixed baypod- The size of a pod-mounted bay
-
dniCockpitModChanged
void dniCockpitModChanged(boolean hasMod) Notify of a change in DNI Cockpit Modification status.- Parameters:
hasMod- Whether the fighter has the DNI Cockpit Modification
-