2019-11-09 04:55:55 +00:00
|
|
|
from direct.directnotify import DirectNotifyGlobal
|
|
|
|
from direct.distributed.DistributedObjectAI import DistributedObjectAI
|
|
|
|
|
2019-12-06 03:42:29 +00:00
|
|
|
|
2019-11-09 04:55:55 +00:00
|
|
|
class DistributedKartPadAI(DistributedObjectAI):
|
|
|
|
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedKartPadAI')
|
2019-12-06 03:42:29 +00: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
|