def enterToonInterior(self, requestStatus): self.acceptOnce(self.placeDoneEvent, self.handleToonInteriorDone) self.place = ToonInterior.ToonInterior( self, self.fsm.getStateNamed('toonInterior'), self.placeDoneEvent) base.cr.playGame.setPlace(self.place) self.place.load() self.place.enter(requestStatus)
def enterToonInterior(self, requestStatus): assert self.notify.debug("enterToonInterior()") self.acceptOnce(self.placeDoneEvent, self.handleToonInteriorDone) self.place = ToonInterior.ToonInterior( self, self.fsm.getStateNamed("toonInterior"), self.placeDoneEvent) #self.hood.place = self.place base.cr.playGame.setPlace(self.place) self.place.load() self.place.enter(requestStatus)