4#ifndef TRAM_SDK_COMPONENTS_PARTICLECOMPONENT_H
5#define TRAM_SDK_COMPONENTS_PARTICLECOMPONENT_H
Definition: entitycomponent.h:18
Definition: particle.h:12
~ParticleComponent()
Definition: particle.cpp:16
ResourceProxy< Render::Sprite > sprite
Definition: particle.h:51
name_t GetSprite()
Definition: particle.h:22
void EmitParticle(const Particle &particle)
Definition: particle.cpp:22
uint32_t emission_rate
Definition: particle.h:44
vec3 initial_velocity
Definition: particle.h:47
vec3 gravity
Definition: particle.h:46
ParticleComponent()
Definition: particle.h:20
void EventHandler(Event &event)
Definition: particle.h:39
void UpdateRenderListObject()
Definition: particle.cpp:77
void SetSprite(Render::Sprite *sprite)
Definition: particle.h:24
void Update()
Definition: particle.cpp:44
uint32_t particle_max_age
Definition: particle.h:45
Render::drawlistentry_t draw_list_entry
Definition: particle.h:55
vec3 location
Definition: particle.h:53
void Start()
Definition: particle.cpp:26
float initial_velocity_randomness
Definition: particle.h:48
std::vector< Particle > particles
Definition: particle.h:50
Render::vertexarray_t vertex_array
Definition: particle.h:56
void UpdateLocation(vec3 nlocation)
Definition: particle.h:34
Definition: resource.h:47
glm::vec3 vec3
Definition: math.h:12
Definition: particle.h:14
uint32_t age
Definition: particle.h:17
vec3 coords
Definition: particle.h:15
vec3 velocity
Definition: particle.h:16
void * generic
Definition: render.h:136
void * generic
Definition: render.h:112