Click or drag to resize

EmptyKeys.Strategy.AI.Components.Decisions Namespace

 
Classes
  ClassDescription
Public classPlanetDecisionLeaf
Implements planet decision leaf for Decision tree behavior. This decision calculates value of possible planet upgrade (UpgradeModifier type). If this decision is selected, Factory Item is stored in ItemToBuild of PlanetBehaviorContext.
Public classPlayerUnitDecisionLeaf
Implements planet decision leaf for Decision tree behavior. This decision calculates value of Unit type (UnitTypeName) with specific Behavior (BehaviorName). If this decision is selected, planet is set to build it (ItemToBuild).
Public classResearchGoalLeaf
Implements player decision leaf for Decision tree behavior. This decision calculates research technology goal value of specified technology (GoalTechnologyId). If this goal is selected, the result is stored in GoalTechnologyId of PlayerBehaviorContext.
Public classUnitBehaviorLeaf
Implements unit decision leaf for Decision tree behavior. This decision calculates value of specified behavior (BehaviorName) for all player's units. If this decision is selected, it sets Unit behavior.
Public classUnitDecisionLeaf
Implements planet decision leaf for Decision tree behavior. This decision calculates value of Unit type (UnitTypeName) with specific Behavior (BehaviorName). If this decision is selected, planet is set to build it (ItemToBuild).
Public classUnitUpgradeLeaf
Implements player decision leaf for Decision tree behavior. This decision calculates value for specified upgrade (UpgradeId). If this decision is selected, upgrade is stored in UnitUpgrade of PlayerBehaviorContext.