From f6c5e1059be01e47a519d53f3eb4af03f2e0bfb6 Mon Sep 17 00:00:00 2001 From: Mike Goslin Date: Wed, 17 Jan 2001 19:39:59 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/showbase/ParticleManagerGlobal.py | 4 ++++ direct/src/showbase/PhysicsManagerGlobal.py | 4 ++++ direct/src/showbase/ShowBase.py | 5 +++++ 3 files changed, 13 insertions(+) create mode 100644 direct/src/showbase/ParticleManagerGlobal.py create mode 100644 direct/src/showbase/PhysicsManagerGlobal.py diff --git a/direct/src/showbase/ParticleManagerGlobal.py b/direct/src/showbase/ParticleManagerGlobal.py new file mode 100644 index 0000000000..5bdb4bf7c7 --- /dev/null +++ b/direct/src/showbase/ParticleManagerGlobal.py @@ -0,0 +1,4 @@ +"""ParticleManagerGlobal module: contains the global particle system manager""" +import ParticleSystemManager + +particleMgr = ParticleSystemManager.ParticleSystemManager() diff --git a/direct/src/showbase/PhysicsManagerGlobal.py b/direct/src/showbase/PhysicsManagerGlobal.py new file mode 100644 index 0000000000..b15868db1c --- /dev/null +++ b/direct/src/showbase/PhysicsManagerGlobal.py @@ -0,0 +1,4 @@ +"""PhysicsManagerGlobal module: contains the global physics manager""" +import PhysicsManager + +physicsMgr = PhysicsManager.PhysicsManager() diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index c734aebdd4..6db70c9b99 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -5,6 +5,8 @@ from MessengerGlobal import * from TaskManagerGlobal import * from EventManagerGlobal import * from PythonUtil import * +#from ParticleManagerGlobal import * +#from PhysicsManagerGlobal import * import Task import EventManager import math @@ -103,6 +105,9 @@ class ShowBase: self.taskMgr = taskMgr + #self.particleMgr = particleMgr + #self.physicsMgr = physicsMgr + self.createAudioManager() self.createRootPanel() self.createStats()