Package megamek.common.equipment
Class MountedHelper
java.lang.Object
megamek.common.equipment.MountedHelper
Helper methods for Mounted to clean up checks like "is this an Artemis IV".
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanisAnyArtemis(Mounted<?> m) Returns true if the given Mounted m is any Artemis system (IV, V, Proto, IS/C).static booleanisArtemisIV(Mounted<?> m) Returns true if the given Mounted m is an Artemis IV system (IS/C).static booleanisArtemisProto(Mounted<?> m) Returns true if the given Mounted m is a Proto Artemis system.static booleanisArtemisV(Mounted<?> m) Returns true if the given Mounted m is an Artemis V system.static booleanisCoolantPod(Mounted<?> m) Returns true if the given Mounted m is a Coolant Pod.
- 
Constructor Details- 
MountedHelperpublic MountedHelper()
 
- 
- 
Method Details- 
isCoolantPodReturns true if the given Mounted m is a Coolant Pod.
- 
isArtemisIVReturns true if the given Mounted m is an Artemis IV system (IS/C).
- 
isArtemisVReturns true if the given Mounted m is an Artemis V system.
- 
isArtemisProtoReturns true if the given Mounted m is a Proto Artemis system.
- 
isAnyArtemisReturns true if the given Mounted m is any Artemis system (IV, V, Proto, IS/C).
 
-