def onLeave(self, entityID): """ defined method. 离开场景 """ if entityID in self.avatars: del self.avatars[entityID] Space.onLeave(self, entityID)
def onLeave(self, entityID): """ Defined method. Leave the scene """ if entityID in self.avatars: del self.avatars[entityID] Space.onLeave(self, entityID)