summaryrefslogtreecommitdiff
path: root/sprite.h
blob: a40b64180c9316fade7f2a60d224bc732d6a7d89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <SFML/Graphics.hpp>


class Sprite{
	sf::Texture sf_texture;

public:
	sf::Sprite sf_sprite;

	Sprite(const unsigned char *image,unsigned int image_len);

	int width() const;
	int height() const;
};