historical/toontown-classic.git/otp/distributed/ObjectServer.py
2024-01-16 11:20:27 -06:00

11 lines
378 B
Python

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