Poodletooth-iLand/toontown/building/DistributedKartShopInteriorAI.py
Master Jumblespeed d882959bfa switch to remote
2015-05-18 22:11:33 -04:00

17 lines
547 B
Python
Executable file

from direct.directnotify.DirectNotifyGlobal import *
from direct.distributed.DistributedObjectAI import DistributedObjectAI
class DistributedKartShopInteriorAI(DistributedObjectAI):
notify = directNotify.newCategory('DistributedKartShopInteriorAI')
def __init__(self, block, air, zoneId):
DistributedObjectAI.__init__(self, air)
self.block = block
self.zoneId = zoneId
def generate(self):
DistributedObjectAI.generate(self)
def getZoneIdAndBlock(self):
return [self.zoneId, self.block]