blob: 3fd601851a92a4f162c681d78355cb95d668a383 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <cstdint>
#include <memory>
#include "../util/log.h"
#include "Texture.h"
#include "Component.h"
#include "Sprite.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(); }
|