#ifndef Event_CreateExplosion_h__ #define Event_CreateExplosion_h__ #include "EventBroker.h" #include #include namespace Events { struct CreateExplosion : Event { CreateExplosion() : Color(glm::vec4(0)), UseGoalVector(false) {} glm::vec3 Position; glm::vec4 Color; double LifeTime; int ParticlesToSpawn; std::string spritePath; glm::quat RelativeUpOrientation; float Speed; float SpreadAngle; std::vector ParticleScale; bool UseGoalVector; glm::vec3 GoalVelocity; bool Emitting; float SpawnFrequency; }; } #endif // Event_CreateExplosion_h__