oldschool-toontown/toontown/racing/DistributedKartPadAI.py

31 lines
790 B
Python
Raw Normal View History

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
2020-01-02 17:46:49 +00:00
self.startingBlocks = []
2020-01-02 01:15:25 +00:00
self.index = -1
2019-12-06 03:42:29 +00:00
def setArea(self, area):
self.area = area
def getArea(self):
return self.area
2020-01-02 17:46:49 +00:00
def addStartingBlock(self, startingBlock):
self.startingBlocks.append(startingBlock)
2020-01-02 19:19:22 +00:00
def addAvBlock(self, avId, startingBlock, paid):
pass
def removeAvBlock(self, avId, startingBlock):
pass
def kartMovieDone(self):
pass