|
|||||||||
| 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.
| Field Summary | |
|---|---|
private Player |
player
|
| Constructor Summary | |
|---|---|
Player.ActivePredicate(Player player)
|
|
| Method Summary | |
|---|---|
boolean |
obtains(Unit unit)
Returns true if the unit is active (and going nowhere). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Player player
| Constructor Detail |
|---|
public Player.ActivePredicate(Player player)
| 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 | ||||||||