mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-26 13:12:30 -06:00
15 lines
461 B
Python
15 lines
461 B
Python
|
from direct.distributed import DistributedObjectAI
|
||
|
|
||
|
|
||
|
class DistributedPetshopInteriorAI(DistributedObjectAI.DistributedObjectAI):
|
||
|
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):
|
||
|
return [self.zoneId, self.block]
|