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

#include "window.hpp"

class Entity
{
	public:
		void Place();

        int getType(){return type;};
        SDL_Rect getRect(){return rect;};
        
        virtual void eat(void){};
        virtual int getAmount(void){}; 

	protected:
		int type;
        SDL_Rect rect;
		SDL_Renderer* renderer;
};

#endif