2019-11-08 22:55:55 -06:00
|
|
|
from direct.directnotify import DirectNotifyGlobal
|
|
|
|
from direct.distributed.DistributedObjectAI import DistributedObjectAI
|
|
|
|
|
2019-12-05 20:45:22 -06:00
|
|
|
|
2019-11-08 22:55:55 -06:00
|
|
|
class DistributedTrophyMgrAI(DistributedObjectAI):
|
|
|
|
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedTrophyMgrAI')
|
2019-11-22 19:58:35 -06:00
|
|
|
|
2019-12-05 22:10:13 -06:00
|
|
|
def __init__(self, air):
|
|
|
|
DistributedObjectAI.__init__(self, air)
|
|
|
|
self.leaderInfo = ([], [], [])
|
|
|
|
|
2019-11-22 19:58:35 -06:00
|
|
|
def requestTrophyScore(self):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def getLeaderInfo(self):
|
2019-12-05 22:10:13 -06:00
|
|
|
return self.leaderInfo
|
2019-11-22 19:58:35 -06:00
|
|
|
|
2019-12-05 22:10:13 -06:00
|
|
|
def addTrophy(self, avId, name, numFloors):
|
2019-11-22 19:58:35 -06:00
|
|
|
pass
|
2019-12-05 20:45:22 -06:00
|
|
|
|
|
|
|
def removeTrophy(self, avId, numFloors):
|
|
|
|
pass # TODO
|