Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6623 in orxonox.OLD for trunk/src/lib/particles/spark_particles.h


Ignore:
Timestamp:
Jan 20, 2006, 12:54:20 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: particle Systems and Emitters are loaded and cleaned up nicely

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/particles/spark_particles.h

    r6622 r6623  
    11/*!
    2  * @file particle_system.h
     2 * @file spark_particles.h
    33
    44*/
    55
    6 #ifndef _SPRITE_PARTICLE_SYSTEM_H
    7 #define _SPRITE_PARTICLE_SYSTEM_H
     6#ifndef _SPARK_PARTICLE_SYSTEM_H
     7#define _SPARK_PARTICLE_SYSTEM_H
    88
    99#include "particle_system.h"
     
    1111
    1212//! A class to handle ParticleSystems
    13 class SpriteParticles : public ParticleSystem
     13class SparkParticles : public ParticleSystem
    1414{
    1515
    1616public:
    17   SpriteParticles(unsigned int maxCount = PARTICLE_DEFAULT_MAX_COUNT);
    18   SpriteParticles(const TiXmlElement* root);
    19   virtual ~SpriteParticles();
     17  SparkParticles(unsigned int maxCount = PARTICLE_DEFAULT_MAX_COUNT);
     18  SparkParticles(const TiXmlElement* root);
     19  virtual ~SparkParticles();
    2020
    2121  virtual void loadParams(const TiXmlElement* root);
    2222
    23   void setMaterial(Material* material);
    24   void setMaterialTexture(const char* textureFile);
    25 
    26   /** @returns the Material that lies on this particles */
    27   inline const Material* getMaterial() const { return &this->material; };
    28 
    2923  virtual void draw() const;
    30 
    31   void debug() const;
    3224
    3325private:
     
    3830};
    3931
    40 #endif /* _SPRITE_PARTICLE_SYSTEM_H */
     32#endif /* _SPARK_PARTICLE_SYSTEM_H */
Note: See TracChangeset for help on using the changeset viewer.