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