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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isAnyArtemis
(Mounted<?> m) Returns true if the given Mounted m is any Artemis system (IV, V, Proto, IS/C).static boolean
isArtemisIV
(Mounted<?> m) Returns true if the given Mounted m is an Artemis IV system (IS/C).static boolean
isArtemisProto
(Mounted<?> m) Returns true if the given Mounted m is a Proto Artemis system.static boolean
isArtemisV
(Mounted<?> m) Returns true if the given Mounted m is an Artemis V system.static boolean
isCoolantPod
(Mounted<?> m) Returns true if the given Mounted m is a Coolant Pod.
-
Constructor Details
-
MountedHelper
public MountedHelper()
-
-
Method Details
-
isCoolantPod
Returns true if the given Mounted m is a Coolant Pod. -
isArtemisIV
Returns true if the given Mounted m is an Artemis IV system (IS/C). -
isArtemisV
Returns true if the given Mounted m is an Artemis V system. -
isArtemisProto
Returns true if the given Mounted m is a Proto Artemis system. -
isAnyArtemis
Returns true if the given Mounted m is any Artemis system (IV, V, Proto, IS/C).
-