oldschool-toontown/toontown/minigame/DistributedMinigamePhysicsWorld.py

15 lines
704 B
Python
Raw Normal View History

2019-11-02 17:27:54 -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)