What i want to do is make the Player class inherit the Sprite class.
So I inherited it like this :
class Player: public Sprite {};
But when I go to my Player.cpp I get the following error :
Error : No default constructor exists for "Sprite".
But it does have a constructor (well, 2 of them...) :
Sprite(int index, sf::Vector2f position);
Sprite(int index, sf::Vector2f position, float rotation);
Also, not sure if this is the right place to post this. But since it contains SFML library code I will post it here.