net.sf.colossus.ai.objectives
Class AbstractObjectiveHelper

java.lang.Object
  extended by net.sf.colossus.ai.objectives.AbstractObjectiveHelper
All Implemented Interfaces:
IObjectiveHelper
Direct Known Subclasses:
BasicObjectiveHelper

public abstract class AbstractObjectiveHelper
extends java.lang.Object
implements IObjectiveHelper

Author:
dolbeau

Nested Class Summary
protected  class AbstractObjectiveHelper.AllThereIsToKnowAboutYourCreature
          Helper class holding some knowledge about a given creature.
protected  class AbstractObjectiveHelper.ObjectiveEvalConstants
           
 
Field Summary
protected  AbstractAI ai
           
protected  java.util.Map<Creature,AbstractObjectiveHelper.AllThereIsToKnowAboutYourCreature> attackerToKnowledge
           
protected  Client client
           
protected  java.util.Map<Creature,AbstractObjectiveHelper.AllThereIsToKnowAboutYourCreature> defenderToKnowledge
           
protected  AbstractObjectiveHelper.ObjectiveEvalConstants oec
           
protected  Variant variant
           
 
Constructor Summary
protected AbstractObjectiveHelper(Client client, AbstractAI ai, Variant variant)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.colossus.ai.objectives.IObjectiveHelper
attackerObjective, defenderObjective
 

Field Detail

oec

protected final AbstractObjectiveHelper.ObjectiveEvalConstants oec

client

protected final Client client

ai

protected final AbstractAI ai

variant

protected final Variant variant

attackerToKnowledge

protected final java.util.Map<Creature,AbstractObjectiveHelper.AllThereIsToKnowAboutYourCreature> attackerToKnowledge

defenderToKnowledge

protected final java.util.Map<Creature,AbstractObjectiveHelper.AllThereIsToKnowAboutYourCreature> defenderToKnowledge
Constructor Detail

AbstractObjectiveHelper

protected AbstractObjectiveHelper(Client client,
                                  AbstractAI ai,
                                  Variant variant)