Class AbstractAI.CreatureValueConstants
java.lang.Object
net.sf.colossus.ai.AbstractAI.CreatureValueConstants
- Enclosing class:
AbstractAI
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.
- Author:
- Romain Dolbeau Also contains extracted code from SimpleAI:, Bruce Sherrod, David Ripton, Romain Dolbeau Also contains extracted code from RationalAI:, Bruce Sherrod, David Ripton, Romain Dolbeau, Corwin Joy
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) intBonus to the 'kill value' when the terrain offer a bonus in combat to the creature. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
HAS_NATIVE_COMBAT_BONUS
int HAS_NATIVE_COMBAT_BONUSBonus 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()
-