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

#include <SFML/Graphics.hpp>


class Sprite{
public:
	const unsigned char *image;
	unsigned int image_len;
	sf::Texture sf_texture;
	sf::Sprite sf_sprite;

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