Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

StrikeParticle.h

Go to the documentation of this file.
00001 
00006 #ifndef __STRIKEPARTICLE_H__
00007 #define __STRIKEPARTICLE_H__
00008 
00009 #ifdef __APPLE__
00010         #include <GLUT/glut.h>
00011 #else
00012         #include <GL/glut.h>
00013 #endif
00014 
00015 #include "Particle.h"
00016 #include "Debugger.h"
00017 
00018 namespace ParticleSystems {
00020 
00027         class StrikeParticle : public Particle {
00028         public:
00029         
00031 
00037                 StrikeParticle(int sysId, Solver *sol);
00038                 
00040 
00053                 StrikeParticle(int sysId, 
00054                                         Solver *sol, 
00055                                         GraphicsLib::Point3 pos, 
00056                                         GraphicsLib::Vector vel, 
00057                                         GraphicsLib::Colour c,
00058                                         GraphicsLib::Colour fc,
00059                                         GLfloat size,
00060                                         GLfloat fs,
00061                                         GLfloat maxLife);
00063 
00066                 virtual ~StrikeParticle();              
00067                 
00069 
00072                 virtual void draw(void);
00073                 
00075 
00079                 virtual void update(void);
00080                 
00082 
00086                 virtual bool isDead(void);              
00087                 
00088         };
00089 }
00090 #endif

Generated on Thu Mar 24 11:05:02 2005 for ParticleSystem by  doxygen 1.4.1