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

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

public class Player.GoingToPredicate
extends Player.UnitPredicate

A predicate for determining units going somewhere.


Constructor Summary
Player.GoingToPredicate()
           
 
Method Summary
 boolean obtains(Unit unit)
          Returns true if the unit has order to go somewhere.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Player.GoingToPredicate

public Player.GoingToPredicate()
Method Detail

obtains

public boolean obtains(Unit unit)
Returns true if the unit has order to go somewhere.

Specified by:
obtains in class Player.UnitPredicate