// // particleSystem.hpp // emptyExample // // Created by Sebastian Holzki on 16.04.19. // #pragma once #include #include "particle.hpp" class ParticleSystem { ParticleSystem(); ~ParticleSystem(); public: void setup(); void update(float deltaT, int playerType, bool attracted); void draw(); /* Where do we make the quick setting-changes? Like for exampe change direction of an emitter + its position? --> XML? */ private: vector particles; //adresses of the active emitters and attractors // vector attractors; // vector emitters; //Maybe the emitter does not have to be an own class, but is more like a Vector of Positions, so in the system.back it will setup particles for every position that is saved in this Vector //like following: //vector positionsToEmitFrom; float birthcount; bool attracted; int playerType; }; /* class AttractedSystem : public ParticleSystem { bool attracted = true; }; */