Class 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

      Fields 
      Modifier and Type Field Description
      (package private) int HAS_NATIVE_COMBAT_BONUS
      Bonus to the 'kill value' when the terrain offer a bonus in combat to the creature.
    • 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

      • CreatureValueConstants

        protected CreatureValueConstants()