mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-26 21:22:27 -06:00
26 lines
No EOL
724 B
Python
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 |