mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-25 20:52:26 -06:00
18 lines
547 B
Python
18 lines
547 B
Python
|
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]
|