All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.loki3.cyber.server.ObjectiveCount

java.lang.Object
    |
    +----com.loki3.cyber.server.ObjectiveBase
            |
            +----com.loki3.cyber.server.ObjectiveCount

public abstract class ObjectiveCount
extends ObjectiveBase
Handles an objective which checks to see if the proper number of items meet the criteria.


Constructor Index

 o ObjectiveCount()
 

Method Index

 o haveGoalsBeenMet(Items, double)
 
 o setAll(boolean)
Do all pawns of given identity have to meet criteria? defaults to false.
 o setHowMany(int)
How many pawns must meet criteria? Only applies if we don't need *all* pawns meet criteria.
 o setIdentity(Identity)
Pawns that have an identity that match any of the names in our identity list will be checked

Constructor Detail

 o ObjectiveCount
public ObjectiveCount()

Method Detail

 o haveGoalsBeenMet
public boolean haveGoalsBeenMet(com.loki3.pa.Items items,
                                double time)
 o setIdentity
public void setIdentity(Identity id)
          Pawns that have an identity that match any of the names in our identity list will be checked
 o setAll
public void setAll(boolean all)
          Do all pawns of given identity have to meet criteria? defaults to false.
 o setHowMany
public void setHowMany(int count)
          How many pawns must meet criteria? Only applies if we don't need *all* pawns meet criteria. defaults to 1.

All Packages  Class Hierarchy  This Package  Previous  Next  Index