15 lines
468 B
Python
15 lines
468 B
Python
from direct.directnotify import DirectNotifyGlobal
|
|
from direct.distributed.DistributedObjectAI import DistributedObjectAI
|
|
|
|
class DistributedFishingPondAI(DistributedObjectAI):
|
|
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedFishingPondAI')
|
|
|
|
def __init__(self, air):
|
|
DistributedObjectAI.__init__(self, air)
|
|
self.area = None
|
|
|
|
def setArea(self, area):
|
|
self.area = area
|
|
|
|
def getArea(self):
|
|
return self.area
|