Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2005, 5:24:24 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: ParticleEmitter now loadable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/particles/particle_emitter.h

    r4381 r4437  
    1212struct Particle;
    1313class ParticleSystem;
     14class TiXmlElement;
    1415
    1516//! The form of the Emitter to emit from
     
    2526  ParticleEmitter(const Vector& direction, float angle = .5,
    2627                  float emissionRate = 1.0, float velocity = 1.0);
     28  ParticleEmitter(const TiXmlElement* root);
    2729  virtual ~ParticleEmitter(void);
     30 
     31  void loadParams(const TiXmlElement* root);
    2832
    2933  /* controlling the emitter: interface */
     
    3438  /* controlling the behavour: these can be used as Animation interfaces */
    3539  void setType(EMITTER_TYPE type);
     40  void setType(const char* type);
    3641  void setSize(float emitterSize);
    3742  void setEmissionRate(float emissionRate);
Note: See TracChangeset for help on using the changeset viewer.