blob: d3465c7d968a10df7c18a1420d9f8c9e352e2500 (
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 "Component.h"
#include "Sprite.h"
#include "Texture.h"
using namespace std;
using namespace crepe;
Sprite::Sprite(game_object_id_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(); }
|