oldschool-toontown/toontown/racing/DistributedKartPadAI.py

31 lines
790 B
Python
Raw Normal View History

2019-11-08 22:55:55 -06:00
from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectAI import DistributedObjectAI
2019-12-05 21:42:29 -06:00
2019-11-08 22:55:55 -06:00
class DistributedKartPadAI(DistributedObjectAI):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedKartPadAI')
2019-12-05 21:42:29 -06:00
def __init__(self, air):
DistributedObjectAI.__init__(self, air)
self.area = None
2020-01-02 11:46:49 -06:00
self.startingBlocks = []
2020-01-01 19:15:25 -06:00
self.index = -1
2019-12-05 21:42:29 -06:00
def setArea(self, area):
self.area = area
def getArea(self):
return self.area
2020-01-02 11:46:49 -06:00
def addStartingBlock(self, startingBlock):
self.startingBlocks.append(startingBlock)
2020-01-02 13:19:22 -06:00
def addAvBlock(self, avId, startingBlock, paid):
pass
def removeAvBlock(self, avId, startingBlock):
pass
def kartMovieDone(self):
pass