*** empty log message ***

This commit is contained in:
Dave Schuyler 2005-07-13 02:31:08 +00:00
parent effdbb24af
commit cfba7a8f55

View File

@ -0,0 +1,26 @@
from DistributedObjectAI import DistributedObjectAI
from direct.directnotify.DirectNotifyGlobal import directNotify
if __debug__:
notify = directNotify.newCategory('DistributedObjectGlobalAI')
class DistributedObjectGlobalAI(DistributedObjectAI):
if __debug__:
notify = notify
doNotDeallocateChannel = 1
isGlobalDistObj = 1
def __init__(self, air):
DistributedObjectAI.__init__(self, air)
def announceGenerate(self):
self.air.registerForChannel(self.doId)
DistributedObjectAI.announceGenerate(self)
def delete(self):
self.air.unregisterForChannel(self.doId)
DistributedObjectAI.delete(self)