oldschool-toontown/toontown/tutorial/DistributedBattleTutorialAI.py

22 lines
939 B
Python
Raw Permalink Normal View History

from toontown.battle import DistributedBattleAI
2019-11-08 22:55:55 -06:00
from direct.directnotify import DirectNotifyGlobal
class DistributedBattleTutorialAI(DistributedBattleAI.DistributedBattleAI):
2019-11-08 22:55:55 -06:00
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedBattleTutorialAI')
def __init__(self, air, battleMgr, pos, suit, toonId, zoneId,
finishCallback=None, maxSuits=4, interactivePropTrackBonus = -1):
"""__init__(air, battleMgr, pos, suit, toonId, zoneId,
finishCallback, maxSuits)
"""
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
#def handleRewardDone(self):
# DistributedBattleAI.DistributedBattleAI.handleRewardDone(self)