oldschool-toontown/toontown/racing/DistributedLeaderBoardAI.py

21 lines
595 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:03:12 +00:00
2019-11-09 04:55:55 +00:00
class DistributedLeaderBoardAI(DistributedObjectAI):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedLeaderBoardAI')
2019-12-06 03:03:12 +00:00
def __init__(self, air, name, x, y, z, h, p, r):
DistributedObjectAI.__init__(self, air)
self.name = name
self.posHpr = (x, y, z, h, p, r)
def getName(self):
return self.name
def getPosHpr(self):
return self.posHpr
def subscribeTo(self, subscription):
pass # TODO