public class CreatureActionComparator extends Object implements Comparator
| Constructor and Description |
|---|
CreatureActionComparator(IEnvironmentSpace space)
Create a new creature action comparator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object obj1,
Object obj2)
Return a negative number when the first action should be executed before the second.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic CreatureActionComparator(IEnvironmentSpace space)
public int compare(Object obj1, Object obj2)
compare in interface ComparatorCopyright © 2013. All Rights Reserved.