megamek.client.bot
Class AttackOption.Sorter

java.lang.Object
  extended by megamek.client.bot.AttackOption.Sorter
All Implemented Interfaces:
java.util.Comparator<AttackOption>
Enclosing class:
AttackOption

static class AttackOption.Sorter
extends java.lang.Object
implements java.util.Comparator<AttackOption>


Field Summary
(package private)  CEntity primary
           
 
Constructor Summary
AttackOption.Sorter(CEntity primary_target)
           
 
Method Summary
 int compare(AttackOption a, AttackOption a1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

primary

CEntity primary
Constructor Detail

AttackOption.Sorter

public AttackOption.Sorter(CEntity primary_target)
Method Detail

compare

public int compare(AttackOption a,
                   AttackOption a1)
Specified by:
compare in interface java.util.Comparator<AttackOption>