Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 22, 2005, 10:01:18 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/particleEngine: some more properties

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/particleEngine/src/lib/graphics/particles/particle_engine.h

    r3930 r3931  
    1212template<class T> class tList;
    1313class ParticleSystem;
     14class ParticleEmitter;
    1415
     16struct ParticleConnection
     17{
     18  ParticleEmitter* emitter;    //!< The emitter to emit system from.
     19  ParticleSystem* system;      //!< The Particles emitted from emitter.
     20};
    1521
    1622//! A default singleton class.
     
    2329  void tick(float dt);
    2430
     31  void addSystem(ParticleSystem* system);
     32  void addEmitter(ParticleEmitter* emitter);
     33  void addConection(ParticleEmitter* emitter, ParticleSystem* system);
     34
     35  bool removeSystem(ParticleSystem* system);
     36  bool removeEmitter(ParticleEmitter* emitter);
     37  bool breakConection(ParticleEmitter* emitter, ParticleSystem* system);
     38
    2539 private:
    2640  ParticleEngine(void);
    2741  static ParticleEngine* singletonRef;
    2842
    29   tList<ParticleSystem>* partSysList;
     43  tList<ParticleSystem>* systemList;
     44  tList<ParticleEmitter>* emitterList;
     45
     46  tList<ParticleConnection>* connectionList;
    3047};
    3148
Note: See TracChangeset for help on using the changeset viewer.