|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.freecol.common.model.Player.UnitPredicate
net.sf.freecol.common.model.Player.ActivePredicate
public class Player.ActivePredicate
A predicate for determining active units.
Constructor Summary | |
---|---|
Player.ActivePredicate()
|
Method Summary | |
---|---|
boolean |
obtains(Unit unit)
Returns true if the unit is active (and going nowhere). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Player.ActivePredicate()
Method Detail |
---|
public boolean obtains(Unit unit)
obtains
in class Player.UnitPredicate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |