Class MovePathMPCostComparator
java.lang.Object
megamek.common.strategicBattleSystems.MovePathMPCostComparator
- All Implemented Interfaces:
Comparator<SBFMovePath>
@Deprecated(since="0.51.0",
forRemoval=true)
public class MovePathMPCostComparator
extends Object
implements Comparator<SBFMovePath>
Deprecated, for removal: This API element is subject to removal in a future version.
A MovePath comparator that compares movement points spent.
Order paths with fewer used MP first.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionintcompare(SBFMovePath first, SBFMovePath second) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
MovePathMPCostComparator
public MovePathMPCostComparator()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
compare
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
comparein interfaceComparator<SBFMovePath>
-