summaryrefslogtreecommitdiff
path: root/src/entity.h
blob: 1d1f8768eb18e5136909cf12fc814bbb13fcf956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef entity_h
#define entity_h

#include "window.h"

class Entity
{
	public:
		Entity(Window m, std::string s);
		void Place();
		SDL_Texture* loadTexture(std::string path, Window main);

	protected:
		int x, y;
		int height, width;
		int degrees = 0;
		SDL_Texture* texture;
		SDL_Renderer* renderer;
};

#endif