aboutsummaryrefslogtreecommitdiff
path: root/resource-manager/Image_asset.h
blob: 8563352692d9cb5d35e74ed56a402fb2cc47077e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once



#include "resource.h"
#include "spritesheet.h"
#include <SDL_surface.h>
#include <string>





class Image : public Resource {

public:
	Image(const std::string& path);
	~Image();

	SDL_Surface* getSurface() const;

private:
	SDL_Surface* surface;
};