ToonTownRewritten/toontown/building/DistributedTutorialInteriorAI.py
2014-05-11 11:42:14 -07:00

18 lines
578 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