aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Sprite.cpp
blob: b0c0971532b85f8d5379f9970ba976c1b85f1cc0 (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(unique_ptr<Texture> image, const Color & color,
			   const flip_settings & flip) : color(color), flip(flip), sprite_image(std::move(image)) {
	dbg_trace();
}

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