#include "Sprite.h" #include "Component.h" #include "api/Texture.h" #include "util/log.h" #include #include #include using namespace std; using namespace crepe; using namespace crepe::api; Sprite::Sprite(uint32_t id, shared_ptr image, const Color & color, const FlipSettings & flip) : Component(id), color(color), flip(flip), sprite_image(image) { dbg_trace(); } Sprite::~Sprite() { dbg_trace(); }