mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-10-31 08:47:54 +00: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])
|