open-toontown/toontown/tutorial/DistributedBattleTutorialAI.py

17 lines
710 B
Python

from direct.directnotify import DirectNotifyGlobal
from toontown.battle import DistributedBattleAI
class DistributedBattleTutorialAI(DistributedBattleAI.DistributedBattleAI):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedBattleTutorialAI')
def __init__(self, air, battleMgr, pos, suit, toonId, zoneId,
finishCallback=None, maxSuits=4, interactivePropTrackBonus=-1):
DistributedBattleAI.DistributedBattleAI.__init__(
self, air, battleMgr, pos, suit, toonId, zoneId,
finishCallback, maxSuits, tutorialFlag=1)
# There is no timer in the tutorial... The reward movie is random length.
def startRewardTimer(self):
pass