mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 20:22:33 -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 |