Esempio n. 1
0
 def handleChildArrive(self, childObj, zoneId):
     DistributedGameArea.handleChildArrive(self, childObj, zoneId)
     DistributedCartesianGrid.handleChildArrive(self, childObj, zoneId)
     if childObj.isLocal():
         self.updateAvReturnLocation(childObj)
         self.builder.checkForHolidayObjects()
         self.requestSoundAndMusic()
         if not self.footstepSound:
             localAvatar.setAreaFootstep('Wood')
         self.setupMinimap()
         if self.minimap and localAvatar.getMinimapObject():
             self.minimap.addObject(localAvatar.getMinimapObject())
             localAvatar.guiMgr.setMinimap(self.minimap)
 def handleChildArrive(self, childObj, zoneId):
     DistributedGameArea.handleChildArrive(self, childObj, zoneId)
     DistributedCartesianGrid.handleChildArrive(self, childObj, zoneId)
     if childObj.isLocal():
         self.updateAvReturnLocation(childObj)
         self.builder.checkForHolidayObjects()
         self.requestSoundAndMusic()
         if not self.footstepSound:
             localAvatar.setAreaFootstep('Wood')
         
         self.setupMinimap()
         if self.minimap and localAvatar.getMinimapObject():
             self.minimap.addObject(localAvatar.getMinimapObject())
             localAvatar.guiMgr.setMinimap(self.minimap)
Esempio n. 3
0
 def handleChildArrive(self, childObj, zoneId):
     DistributedCartesianGrid.handleChildArrive(self, childObj, zoneId)
     if self.minimap and hasattr(childObj, 'getMinimapObject'):
         if childObj.getMinimapObject():
             self.minimap.addObject(childObj.getMinimapObject())
 def handleChildArrive(self, childObj, zoneId):
     DistributedCartesianGrid.handleChildArrive(self, childObj, zoneId)
     if self.minimap and hasattr(childObj, 'getMinimapObject'):
         if childObj.getMinimapObject():
             self.minimap.addObject(childObj.getMinimapObject())