Package net.sf.colossus.ai
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.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
Bonus 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()
-