historical/toontown-classic.git/toontown/building/DistributedGagshopInteriorAI.py

14 lines
438 B
Python
Raw Normal View History

2024-01-16 17:20:27 +00:00
from direct.distributed import DistributedObjectAI
from direct.directnotify import DirectNotifyGlobal
class DistributedGagshopInteriorAI(DistributedObjectAI.DistributedObjectAI):
def __init__(self, block, air, zoneId):
DistributedObjectAI.DistributedObjectAI.__init__(self, air)
self.block = block
self.zoneId = zoneId
def getZoneIdAndBlock(self):
r = [self.zoneId, self.block]
return r