4#ifndef TRAM_SDK_COMPONENTS_SPRITECOMPONENT_H
5#define TRAM_SDK_COMPONENTS_SPRITECOMPONENT_H
Definition: entitycomponent.h:18
Definition: resource.h:47
void UpdateLocation(vec3 nlocation)
Definition: sprite.h:34
void UpdateRenderListObject()
Definition: sprite.cpp:56
vec3 location
Definition: sprite.h:44
void SetSprite(Render::Sprite *sprite)
Definition: sprite.h:18
size_t anim_bframe
Definition: sprite.h:48
ResourceProxy< Render::Sprite > sprite
Definition: sprite.h:42
void EventHandler(Event &event)
Definition: sprite.h:39
void Pause()
Definition: sprite.cpp:118
void Update()
Definition: sprite.cpp:41
size_t anim_frame
Definition: sprite.h:46
void Start()
Definition: sprite.cpp:23
size_t anim_speed
Definition: sprite.h:47
Render::drawlistentry_t draw_list_entry
Definition: sprite.h:51
SpriteComponent()
Definition: sprite.h:14
~SpriteComponent()
Definition: sprite.cpp:17
void Play()
Definition: sprite.cpp:114
bool anim_isplaying
Definition: sprite.h:49
void SetPlaySpeed(size_t speed)
Definition: sprite.cpp:122
Render::vertexarray_t vertex_array
Definition: sprite.h:52
name_t GetSprite()
Definition: sprite.h:16
glm::vec3 vec3
Definition: math.h:12
void * generic
Definition: render.h:136
void * generic
Definition: render.h:112