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

#include "window.h"

class Entity
{
	public:
		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