historical/toontown-classic.git/toontown/building/DistributedTutorialInteriorAI.py
2024-01-16 11:20:27 -06:00

18 lines
576 B
Python

from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectAI import DistributedObjectAI
class DistributedTutorialInteriorAI(DistributedObjectAI):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedTutorialInteriorAI')
def __init__(self, air, zoneId, npcId):
DistributedObjectAI.__init__(self, air)
self.zoneId = zoneId
self.block = 0
self.npcId = npcId
def getZoneIdAndBlock(self):
return self.zoneId, self.block
def getTutorialNpcId(self):
return self.npcId