net.sf.freecol.common.model
Class Player.ActivePredicate

java.lang.Object
  extended by net.sf.freecol.common.model.Player.UnitPredicate
      extended by net.sf.freecol.common.model.Player.ActivePredicate
Enclosing class:
Player

public class Player.ActivePredicate
extends Player.UnitPredicate

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

Player.ActivePredicate

public Player.ActivePredicate()
Method Detail

obtains

public boolean obtains(Unit unit)
Returns true if the unit is active (and going nowhere).

Specified by:
obtains in class Player.UnitPredicate