Exemple #1
0
 def generate(self):
     PVPGameBase.generate(self)
     self.accept(
         PiratesGlobals.EVENT_SPHERE_PORT +
         PiratesGlobals.SPHERE_ENTER_SUFFIX, self.handleEnterPort)
     self.accept(
         PiratesGlobals.EVENT_SPHERE_PORT +
         PiratesGlobals.SPHERE_EXIT_SUFFIX, self.handleExitPort)
     self.accept('enterwreckSphere', self.approachWreck)
     self.accept('exitwreckSphere', self.leaveWreck)
 def generate(self):
     PVPGameBase.generate(self)
     self.accept(
         PiratesGlobals.EVENT_SPHERE_PORT +
         PiratesGlobals.SPHERE_ENTER_SUFFIX, self.handleEnterPort)
     self.accept(
         PiratesGlobals.EVENT_SPHERE_PORT +
         PiratesGlobals.SPHERE_EXIT_SUFFIX, self.handleExitPort)
     self.accept('carryingTreasure', self.startTreasureCarry)
     self.accept('notCarryingTreasure', self.stopTreasureCarry)
 def generate(self):
     PVPGameBase.generate(self)
 def generate(self):
     PVPGameBase.generate(self)
     self.accept(PiratesGlobals.EVENT_SPHERE_PORT + PiratesGlobals.SPHERE_ENTER_SUFFIX, self.handleEnterPort)
     self.accept(PiratesGlobals.EVENT_SPHERE_PORT + PiratesGlobals.SPHERE_EXIT_SUFFIX, self.handleExitPort)
     self.accept('enterwreckSphere', self.approachWreck)
     self.accept('exitwreckSphere', self.leaveWreck)
Exemple #5
0
 def generate(self):
     PVPGameBase.generate(self)
 def generate(self):
     PVPGameBase.generate(self)
     self.accept(PiratesGlobals.EVENT_SPHERE_PORT + PiratesGlobals.SPHERE_ENTER_SUFFIX, self.handleEnterPort)
     self.accept(PiratesGlobals.EVENT_SPHERE_PORT + PiratesGlobals.SPHERE_EXIT_SUFFIX, self.handleExitPort)
     self.accept('carryingTreasure', self.startTreasureCarry)
     self.accept('notCarryingTreasure', self.stopTreasureCarry)