historical/toontown-just-works.git/toontown/building/DistributedPetshopInteriorAI.py

15 lines
461 B
Python
Raw Normal View History

2024-01-16 11:20:27 -06:00
from direct.distributed import DistributedObjectAI
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):
return [self.zoneId, self.block]