aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Sprite.cpp
blob: d9e26ab88837677dd4ad15a9990cbee943c21c95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "Sprite.h"
#include "api/Texture.h"
#include "util/log.h"
#include <memory>
#include <utility>

using namespace std;
using namespace crepe;
using namespace crepe::api;

Sprite::Sprite(shared_ptr<Texture> image, const Color & color,
			   const flip_settings & flip) : color(color), flip(flip), sprite_image(image) {
	dbg_trace();
}

Sprite::~Sprite() { dbg_trace(); }