Package horizons :: Package ai :: Package aiplayer :: Package strategy :: Module condition
[hide private]
[frames] | no frames]

Module condition

source code

Classes [hide private]
  Condition
Condition's goal is to aid StrategyManager in figuring out what kind of strategy/mission is applicable to given state of world, e.g.
  ConditionSharingSettlement
States whether given player shares a settlement with AI.
  ConditionHostile
States whether there is a hostile player that can be attacked (i.e.
  ConditionNeutral
States whether given player is neutral.
  ConditionAllied
States whether given player is ally.
  ConditionDebug
For testing purposes, always happens
  ConditionPirateRoutinePossible
Currently always occurs, when pirate has more conditions/strategies to work on, this may change.