Poodletooth-iLand/toontown/building/DistributedPetshopInteriorAI.py

14 lines
460 B
Python
Raw Normal View History

2015-03-03 16:10:12 -06:00
from direct.distributed import DistributedObjectAI
class DistributedPetshopInteriorAI(DistributedObjectAI.DistributedObjectAI):
2015-06-21 04:27:40 -05:00
2015-03-03 16:10:12 -06:00
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):
2015-06-21 04:27:40 -05:00
return [self.zoneId, self.block]