def disable(self):
     self.notify.debug('Disable')
     self.ignore('enterPlayground')
     self.request('Off')
     if self.tunnelSignInterval:
         self.tunnelSignInterval = None
     DistributedKartPad.disable(self)
 def disable(self):
     self.notify.debug('Disable')
     self.ignore('enterPlayground')
     self.request('Off')
     if self.tunnelSignInterval:
         self.tunnelSignInterval = None
     DistributedKartPad.disable(self)
     return
    def disable(self):
        self.notify.debug("Disable")
        self.ignore("enterPlayground")
        self.request("Off")

        if self.tunnelSignInterval:
            self.tunnelSignInterval = None

        DistributedKartPad.disable(self)
Esempio n. 4
0
    def __init__(self, cr):
        """
        COMMENT
        """

        # Initialize the KartPadAI and FSM Super Classes
        DistributedKartPad.__init__(self, cr)

        # Initialize Instance Variables
        self.id = DistributedViewPad.id
        DistributedViewPad.id += 1
 def __init__(self, cr):
     self.cr = cr
     DistributedKartPad.__init__(self, cr)
     FSM.__init__(self, 'RacePad_%s_FSM' % self.id)
     self.id = DistributedRacePad.id
     DistributedRacePad.id += 1
     self.trackId = None
     self.trackType = None
     self.timeStamp = None
     self.clockNodepath = None
     self.timerTask = None
     self.tunnelSign = None
     self.trackNameNode = None
     self.tunnelSignInterval = None
 def __init__(self, cr):
     self.cr = cr
     DistributedKartPad.__init__(self, cr)
     FSM.__init__(self, 'RacePad_%s_FSM' % self.id)
     self.id = DistributedRacePad.id
     DistributedRacePad.id += 1
     self.trackId = None
     self.trackType = None
     self.timeStamp = None
     self.clockNodepath = None
     self.timerTask = None
     self.tunnelSign = None
     self.trackNameNode = None
     self.tunnelSignInterval = None
     return
    def __init__(self, cr):
        self.cr = cr
        # Initialize the KartPad Super Class
        DistributedKartPad.__init__(self, cr)
        FSM.__init__(self, "RacePad_%s_FSM" % (self.id))

        # Intialize Instance Variables
        self.id = DistributedRacePad.id
        DistributedRacePad.id += 1

        self.trackId = None
        self.trackType = None
        self.timeStamp = None
        self.clockNodepath = None
        self.timerTask = None
        self.tunnelSign = None
        self.trackNameNode = None
        self.tunnelSignInterval = None
 def addStartingBlock(self, block):
     DistributedKartPad.addStartingBlock(self, block)
     if self.state == 'WaitCountdown':
         self.startCountdown()
Esempio n. 9
0
 def addStartingBlock(self, block):
     block.cameraPos = Point3(0, 23, 7)
     block.cameraHpr = Point3(180, -10, 0)
     DistributedKartPad.addStartingBlock(self, block)
Esempio n. 10
0
 def __init__(self, cr):
     DistributedKartPad.__init__(self, cr)
     self.id = DistributedViewPad.id
     DistributedViewPad.id += 1
Esempio n. 11
0
 def addStartingBlock(self, block):
     block.cameraPos = Point3(0, 23, 7)
     block.cameraHpr = Point3(180, -10, 0)
     DistributedKartPad.addStartingBlock(self, block)
Esempio n. 12
0
 def __init__(self, cr):
     DistributedKartPad.__init__(self, cr)
     self.id = DistributedViewPad.id
     DistributedViewPad.id += 1
 def addStartingBlock(self, block):
     DistributedKartPad.addStartingBlock(self, block)
     if self.state == 'WaitCountdown':
         self.startCountdown()