oldschool-toontown/toontown/tutorial/DistributedBattleTutorial.py

12 lines
449 B
Python
Raw Permalink Normal View History

2019-11-02 17:27:54 -05:00
from toontown.battle import DistributedBattle
from direct.directnotify import DirectNotifyGlobal
class DistributedBattleTutorial(DistributedBattle.DistributedBattle):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedBattleTutorial')
def startTimer(self, ts = 0):
self.townBattle.timer.hide()
def playReward(self, ts):
self.movie.playTutorialReward(ts, self.uniqueName('reward'), self.handleRewardDone)