def enterTrolley(self):
     base.localAvatar.laffMeter.start()
     base.localAvatar.b_setAnimState('off', 1)
     base.localAvatar.cantLeaveGame = 1
     self.accept(self.trolleyDoneEvent, self.handleTrolleyDone)
     self.trolley = Trolley.Trolley(self, self.fsm, self.trolleyDoneEvent)
     self.trolley.load()
     self.trolley.enter()
Ejemplo n.º 2
0
    def enterTrolley(self):
        assert (self.notify.debug("enterTrolley()"))
        # Turn on the laff meter
        base.localAvatar.laffMeter.start()

        # clear the anim state
        base.localAvatar.b_setAnimState("off", 1)

        # Disable leave to pay / set parent password
        base.localAvatar.cantLeaveGame = 1

        self.accept(self.trolleyDoneEvent, self.handleTrolleyDone)
        self.trolley = Trolley.Trolley(self, self.fsm, self.trolleyDoneEvent)
        self.trolley.load()
        self.trolley.enter()