mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-26 05:02:31 -06:00
26 lines
725 B
Python
26 lines
725 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
|