Poodletooth-iLand/otp/distributed/ObjectServer.py

12 lines
378 B
Python
Raw Normal View History

2015-03-03 22:10:12 +00:00
from direct.directnotify import DirectNotifyGlobal
from direct.distributed import DistributedObject
class ObjectServer(DistributedObject.DistributedObject):
notify = DirectNotifyGlobal.directNotify.newCategory('ObjectServer')
def __init__(self, cr):
DistributedObject.DistributedObject.__init__(self, cr)
def setName(self, name):
self.name = name