Poodletooth-iLand/toontown/ai/DistributedSillyMeterMgr.py

27 lines
725 B
Python
Raw Normal View History

2015-03-03 22:10:12 +00:00
from direct.directnotify import DirectNotifyGlobal
from direct.distributed import DistributedObject
2015-04-07 18:43:25 +00:00
class DistributedSillyMeterMgr(DistributedObject.DistributedObject):
2015-03-03 22:10:12 +00:00
neverDisable = 1
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedSillyMeterMgr')
def __init__(self, cr):
2015-04-07 18:43:25 +00:00
DistributedObject.DistributedObject.__init__(self, cr)
2015-03-03 22:10:12 +00:00
cr.SillyMeterMgr = self
def delete(self):
2015-04-07 18:43:25 +00:00
DistributedObject.DistributedObject.delete(self)
cr.SillyMeterMgr = None
2015-03-03 22:10:12 +00:00
def setCurPhase(self, newPhase):
2015-04-07 18:43:25 +00:00
pass
2015-03-03 22:10:12 +00:00
def setIsRunning(self, isRunning):
2015-04-07 18:43:25 +00:00
pass
2015-03-03 22:10:12 +00:00
def getCurPhaseDuration(self):
2015-04-07 18:43:25 +00:00
return -1
2015-03-03 22:10:12 +00:00
def getCurPhaseStartDate(self):
2015-04-29 04:01:52 +00:00
return -1