Example #1
0
class LeapTester(InitialBehavior):

    def __init__(self, actions):
        InitialBehavior.__init__(self, actions=actions, name=self.__class__.__name__)

    def _start(self, firstTime=False):
        self._goalie = Goalie(self._actions)
        print goalie.realLeap
        print goalie.debugLeapRight
        goalie.realLeap = True
        goalie.debugLeapRight = True
        self._goalie.leapPenalty()
Example #2
0
 def _start(self, firstTime=False):
     self._goalie = Goalie(self._actions)
     print goalie.realLeap
     print goalie.debugLeapRight
     goalie.realLeap = True
     goalie.debugLeapRight = True
     self._goalie.leapPenalty()