Class AbstractAI.CreatureValueConstants

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

protected class AbstractAI.CreatureValueConstants extends 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 Details

    • 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 Details

    • CreatureValueConstants

      protected CreatureValueConstants()