dip.world
Class Path.ConvoyFAPEvaluator

java.lang.Object
  extended bydip.world.Path.FAPEvaluator
      extended bydip.world.Path.ConvoyFAPEvaluator
Enclosing class:
Path

public static class Path.ConvoyFAPEvaluator
extends Path.FAPEvaluator

FAPEvaluator that checks to see if there is a Fleet present in the given Province that has orders to Convoy, and that convoy order has the given convoy-source and convoy-destination provinces.

This additionally checks to make sure that the Convoying Fleet in the province being evaluated is not dislodged and has not failed.


Constructor Summary
Path.ConvoyFAPEvaluator(Adjudicator adj, Province src, Province dest)
          Create a ConvoyFAPEvaluator
 
Method Summary
 boolean evaluate(Province province)
          Evaluate if a Province should be added.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Path.ConvoyFAPEvaluator

public Path.ConvoyFAPEvaluator(Adjudicator adj,
                               Province src,
                               Province dest)
Create a ConvoyFAPEvaluator

Method Detail

evaluate

public boolean evaluate(Province province)
Evaluate if a Province should be added.

Overrides:
evaluate in class Path.FAPEvaluator


Copyright 2002-2004 Zachary DelProposto / jDip Development Team. All Rights Reserved.