diff --git a/src/particle.h b/src/particle.h index c6e3e12..f139eb8 100644 --- a/src/particle.h +++ b/src/particle.h @@ -2,26 +2,25 @@ #include "ofMain.h" #include "attractor.h" +#include "line.h" -class thParticle +class Particle { public: - thParticle(); - ~thParticle(); + Particle(); + ~Particle(); void setup(ofVec2f position); void update(float deltaT, vector* attractors); - // void update(float deltaT, ofVec2f attractor); - //Partikel wird komplett upgedated (Bewegung, Farbe, etc...) - //deltaT Zeitintervall seit letztem Update - void draw(); //Partikel anzeigen + + void draw(); float getAgeNorm(); float getMaxLife(); - ofImage tex; + private: @@ -39,5 +38,5 @@ private: int blobCounterInParticle; ofColor color; - + ofImage tex; };