Hi, I am a total noob to C++ and SFML but I desparately want to learn. I am familiar with OOP but definitely not that great at it. I was hoping that someone could provide a basic example of a class that inherits from Drawable and uses the virtual draw function to display a simple sprite with a main.cpp driver to show it in action. I have a hard time learning if I don't have a concrete example to go by. I've been reading just about everything that I can find on how to do this but I am struggling to grasp the concepts.
Ultimately, I am required to build a class that stores sprite data, texture, and xy coordinates to draw moveable sprites to the target window for school. I have to implement the private virtual draw function from my class that inherits from Drawable.
If someone could show me a basic simple functional example if its not too much to ask for, then I am sure that I can figure it out.