Package horizons :: Package ai :: Package aiplayer :: Package behavior :: Module movecallbacks :: Class BehaviorMoveCallback
[hide private]
[frames] | no frames]

Class BehaviorMoveCallback

source code

Container class for general purpose ship moves and move callbacks.

Class Methods [hide private]
 
_get_annulus(cls, position, range, range_delta) source code
 
_arrived(cls, ship) source code
 
maintain_distance_and_attack(cls, ship, enemy, range, range_delta=1)
Attacks given target if possible and adjust ship position to keep given range.
source code
Class Variables [hide private]
  log = logging.getLogger('ai.aiplayer.combat.movecallbacks')