mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-26 05:02:31 -06:00
12 lines
414 B
Python
12 lines
414 B
Python
from direct.directnotify import DirectNotifyGlobal
|
|
from direct.distributed.DistributedObjectAI import DistributedObjectAI
|
|
|
|
class DistributedGardenAI(DistributedObjectAI):
|
|
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedGardenAI")
|
|
|
|
def __init__(self, air):
|
|
self.air = air
|
|
self.props = []
|
|
|
|
def sendNewProp(self, prop, x, y, z):
|
|
self.props.append([prop, x, y, z])
|