Changeset 4519 in orxonox.OLD for orxonox/trunk/src/lib/physics/physics_engine.h
- Timestamp:
- Jun 6, 2005, 2:36:04 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/physics/physics_engine.h
r4394 r4519 22 22 23 23 public: 24 static PhysicsEngine* getInstance(void);25 24 virtual ~PhysicsEngine(void); 25 /** \returns a Pointer to the only object of this Class */ 26 inline static PhysicsEngine* getInstance(void) { if (!singletonRef) singletonRef = new PhysicsEngine(); return singletonRef; }; 26 27 27 28 void addPhysicsInterface(PhysicsInterface* physicsInterface);
Note: See TracChangeset
for help on using the changeset viewer.