Example #1
0
 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)
Example #2
0
 def debug_info(self):
     return "%s target=%s waypoint=%.3s" % \
            (FSMController.debug_info(self), self.target, self.waypoint)
Example #3
0
 def debug_info(self):
     return "%s waypoint=%3f" % (FSMController.debug_info(self), self.waypoint)