Changeset 4375 in orxonox.OLD for orxonox/trunk/src/lib/physics/physics_connection.h
- Timestamp:
- May 29, 2005, 11:55:57 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/physics/physics_connection.h
r4338 r4375 7 7 #define _PHYSICS_CONNECTION_H 8 8 9 #include "field.h" 10 #include "particle_system.h" 11 #include "i_physics.h" 9 // Forward Declaration 10 class PhysicsInterface; 11 class ParticleSystem; 12 class Field; 12 13 13 14 //! An enumerator for different ConnectionTypes 14 typedef enum PCON_Type { PCON_ IPhysIPhys= 0,15 PCON_ IPhysField = 1,15 typedef enum PCON_Type { PCON_PhysIPhysI = 0, 16 PCON_PhysIField = 1, 16 17 PCON_ParticlesField = 2 }; 17 18 … … 23 24 24 25 public: 25 PhysicsConnection( IPhysics* partnerOne, IPhysics* partnerTwo);26 PhysicsConnection( IPhysics* subject, Field* field);26 PhysicsConnection(PhysicsInterface* partnerOne, PhysicsInterface* partnerTwo); 27 PhysicsConnection(PhysicsInterface* subject, Field* field); 27 28 PhysicsConnection(ParticleSystem* particleSystem, Field* field); 28 29 … … 34 35 PCON_Type type; //!< What kind of connection this is. 35 36 36 IPhysics* subject;//!< The main Subject of this Connection.37 IPhysics* partner2;//!< The second partner of this Connection.37 PhysicsInterface* subject; //!< The main Subject of this Connection. 38 PhysicsInterface* partner2; //!< The second partner of this Connection. 38 39 39 40 ParticleSystem* particleSystem; //!< A ParticleSystem in this Connection
Note: See TracChangeset
for help on using the changeset viewer.