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