Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 23, 2005, 3:30:45 AM (19 years ago)
Author:
bensch
Message:

orxonox/branches/particleEngine: spread works, and many other functions implemented

File:
1 edited

Legend:

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

    r3932 r3935  
    3333
    3434   this->systemList = new tList<ParticleSystem>;
    35 
     35   this->emitterList = new tList<ParticleEmitter>;
    3636   this->connectionList = new tList<ParticleConnection>;
    3737}
     
    7070}
    7171
     72void ParticleEngine::addEmitter(ParticleEmitter* emitter)
     73{
     74  this->emitterList->add(emitter);
     75}
    7276
    7377/**
     
    8387
    8488  this->connectionList->add(tmpCon);
     89}
     90
     91
     92bool ParticleEngine::removeSystem(ParticleSystem* system)
     93{
     94  this->systemList->remove(system);
     95 
     96}
     97
     98bool ParticleEngine::removeEmitter(ParticleEmitter* emitter)
     99{
     100  this->emitterList->remove(emitter);
    85101}
    86102
Note: See TracChangeset for help on using the changeset viewer.