#ifndef entity_h #define entity_h #include "window.hpp" #include "location.hpp" class Entity { public: void Place(); SDL_Texture* loadTexture(std::string path, Window main); Location getLocation(){return L;}; int getType(){return type;}; virtual void eat(void) {}; virtual int getAmount(void) {}; protected: Location L; int height, width; //Dimensions of image on window int degrees = 0; int type = 0; SDL_Texture* texture; SDL_Renderer* renderer; }; #endif