oldschool-toontown/toontown/building/DistributedGagshopInteriorAI.py
2019-11-02 18:27:54 -04:00

14 lines
448 B
Python

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