Poodletooth-iLand/toontown/ai/DistributedSillyMeterMgr.py
2015-04-07 21:43:25 +03:00

26 lines
No EOL
724 B
Python

from direct.directnotify import DirectNotifyGlobal
from direct.distributed import DistributedObject
class DistributedSillyMeterMgr(DistributedObject.DistributedObject):
neverDisable = 1
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedSillyMeterMgr')
def __init__(self, cr):
DistributedObject.DistributedObject.__init__(self, cr)
cr.SillyMeterMgr = self
def delete(self):
DistributedObject.DistributedObject.delete(self)
cr.SillyMeterMgr = None
def setCurPhase(self, newPhase):
pass
def setIsRunning(self, isRunning):
pass
def getCurPhaseDuration(self):
return -1
def getCurPhaseStartDate(self):
return -1