blob: 2dec78b50d94ed8416563d9e2d3f97644850628d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef STATIC_IMAGE_H
#define STATIC_IMAGE_H
#include "entity.h"
#include "renderer.h"
class Game;
class StaticImageComponent : public Component {
public:
StaticImageComponent(const char* filename);
void render(Game& game, Entity& entity, Texture& buffer);
private:
Texture sprite;
};
#endif
|