text: #ifndef __ENTITY_H__
  #define __ENTITY_H__
  
  #include "ctPoint.h"
  #include "ctAnimation.h"
  #include "ctEntities.h"
  #include "ctTextures.h"
  #include "SDL/include/SDL.h"
  
  #include <vector>
  
  struct SDL_Texture;
  
  class Entity
  {
  protected:
  	ctAnimation* anim = nullptr;
  
  	EntityType type = EntityType::NO_TYPE;
  
  	int layerToBlit = 0;
  	int alpha = 255;
  
  public:
  
  	bool to_destroy = false;
  	bool flipSprite = false;
  	fPoint pos = { 0,0 };
  
  public:
  
  	Entity(int x, int y, EntityType type);
  	virtual ~Entity();
  
  	virtual void Update(float dt) {};
  	virtual void Draw();
  	void SetPrintAlpha(int alpha);
  
  	fPoint GetPos();
  };
  
  #endif // __ENTITY_H__