toontown-just-works/toontown/minigame/DistributedMinigamePhysicsWorld.py

15 lines
704 B
Python
Raw Normal View History

2024-07-07 18:08:39 -05:00
from direct.distributed import DistributedObject
from direct.directnotify import DirectNotifyGlobal
from toontown.minigame import MinigamePhysicsWorldBase
class DistributedMinigamePhysicsWorld(DistributedObject.DistributedObject, MinigamePhysicsWorldBase.MinigamePhysicsWorldBase):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedMinigamePhysicsWorld')
def __init__(self, cr):
DistributedObject.DistributedObject.__init__(self, cr)
MinigamePhysicsWorldBase.MinigamePhysicsWorldBase.__init__(self, canRender=1)
def delete(self):
MinigamePhysicsWorldBase.MinigamePhysicsWorldBase.delete(self)
DistributedObject.DistributedObject.delete(self)