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)
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()
def addStartingBlock(self, block): block.cameraPos = Point3(0, 23, 7) block.cameraHpr = Point3(180, -10, 0) DistributedKartPad.addStartingBlock(self, block)
def __init__(self, cr): DistributedKartPad.__init__(self, cr) self.id = DistributedViewPad.id DistributedViewPad.id += 1