Package horizons :: Package component :: Module stancecomponent
[hide private]
[frames] | no frames]

Module stancecomponent

source code

Classes [hide private]
  StanceComponent
Class to be inherited for all unit stances It has methods defined for specific instance states The default methods are defined that the instance only listens to user commands If a state different from user_attack or user_move is passed, it stops any action and switches to idle.
  LimitedMoveStance
Stance that attacks any unit in stance range and follows it with limited move space...
  AggressiveStance
Stance that attacks units in close range when doing movement
  HoldGroundStance
Stance in radius and not attacks units in close range
  NoneStance
No settings for stance
  FleeStance
Move away from any approaching units
Variables [hide private]
  DEFAULT_STANCES = [HoldGroundStance, AggressiveStance, NoneSta...
Variables Details [hide private]

DEFAULT_STANCES

Value:
[HoldGroundStance, AggressiveStance, NoneStance, FleeStance]