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

16 lines
526 B
Python

from direct.distributed import DistributedObjectAI
from direct.directnotify import DirectNotifyGlobal
class DistributedPetshopInteriorAI(DistributedObjectAI.DistributedObjectAI):
def __init__(self, block, air, zoneId):
DistributedObjectAI.DistributedObjectAI.__init__(self, air)
self.block = block
self.zoneId = zoneId
def generate(self):
DistributedObjectAI.DistributedObjectAI.generate(self)
def getZoneIdAndBlock(self):
r = [self.zoneId, self.block]
return r