net.sf.colossus.ai
Class AbstractAI.CreatureValueConstants

java.lang.Object
  extended by net.sf.colossus.ai.AbstractAI.CreatureValueConstants
Enclosing class:
AbstractAI

protected class AbstractAI.CreatureValueConstants
extends java.lang.Object

Various constants used by the AIs code for creature evaluation. Each specific AI should be able to override them to tweak the evaluation results w/o rewriting the code.


Field Summary
(package private)  int HAS_NATIVE_COMBAT_BONUS
          Bonus to the 'kill value' when the terrain offer a bonus in combat to the creature.
 
Constructor Summary
protected AbstractAI.CreatureValueConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HAS_NATIVE_COMBAT_BONUS

int HAS_NATIVE_COMBAT_BONUS
Bonus to the 'kill value' when the terrain offer a bonus in combat to the creature. 0 by default, so the default 'kill value' is the 'kill value' returned by the creature type. SimpleAI (and all its subclasses) override this to 3.

Constructor Detail

AbstractAI.CreatureValueConstants

protected AbstractAI.CreatureValueConstants()