Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/new_class_id/src/world_entities/particles/dot_particles.h @ 9760

Last change on this file since 9760 was 9760, checked in by bensch, 18 years ago

moved around the weather effecs

File size: 790 bytes
RevLine 
[4597]1/*!
[6652]2 * @file dot_particles.h
[3329]3
[3245]4*/
[1853]5
[6652]6#ifndef _DOT_PARTICLE_SYSTEM_H
7#define _DOT_PARTICLE_SYSTEM_H
[1853]8
[6621]9#include "particle_system.h"
10#include "material.h"
[4377]11
[6621]12//! A class to handle ParticleSystems
[6652]13class DotParticles : public ParticleSystem
[4597]14{
[9715]15  ObjectListDeclaration(DotParticles);
[3930]16
[6621]17public:
[6652]18  DotParticles(unsigned int maxCount = PARTICLE_DEFAULT_MAX_COUNT);
19  DotParticles(const TiXmlElement* root);
20  virtual ~DotParticles();
[3930]21
[6512]22  virtual void loadParams(const TiXmlElement* root);
[4602]23
[4836]24  /** @returns the Material that lies on this particles */
[6621]25  inline const Material* getMaterial() const { return &this->material; };
[4338]26
[4746]27  virtual void draw() const;
[3931]28
[6621]29private:
30  void init();
[3938]31
[6621]32private:
33  Material          material;            //!< A Material for all the Particles.
[1853]34};
35
[6652]36#endif /* _DOT_PARTICLE_SYSTEM_H */
Note: See TracBrowser for help on using the repository browser.