2019-11-08 22:55:55 -06:00
|
|
|
from direct.directnotify import DirectNotifyGlobal
|
|
|
|
from direct.distributed.DistributedObjectAI import DistributedObjectAI
|
|
|
|
|
|
|
|
class DistributedFishingPondAI(DistributedObjectAI):
|
|
|
|
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedFishingPondAI')
|
2023-05-23 10:10:42 -05:00
|
|
|
|
|
|
|
def __init__(self, air):
|
|
|
|
DistributedObjectAI.__init__(self, air)
|
|
|
|
self.area = None
|
|
|
|
|
|
|
|
def setArea(self, area):
|
|
|
|
self.area = area
|
|
|
|
|
|
|
|
def getArea(self):
|
|
|
|
return self.area
|