def debug_info(self): if self.target: target_pos = self.target.pos else: target_pos = 0 return "%s target=%s (%.1f) waypoint=%.1f" % \ (FSMController.debug_info(self), self.target, target_pos, self.waypoint)
def debug_info(self): return "%s target=%s waypoint=%.3s" % \ (FSMController.debug_info(self), self.target, self.waypoint)
def __init__(self, puppet): FSMController.__init__(self, puppet) self.target = False self.shot = False self.waypoint = False
def debug_info(self): return "%s waypoint=%3f" % (FSMController.debug_info(self), self.waypoint)
def __init__(self, *args): FSMController.__init__(self, *args) self.last_hp = self.puppet.hp self.waypoint = 0.0