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