The question of whether you should derive a class that draws something from sf::Drawable or give it a separate draw function has already been asked before.
This:
window.draw(menu)
or:
menu.draw(window)
However, I haven't seen this discussion for SFML 2.0 and higher. In SFML 1.6 the sf::Drawable class had things like:
- set/get position
- set/get rotation
- set/get scale
- set/get color
- set/get blend mode
And if it made since to have these in your class then you would derive from sf::Drawable, but now(in 2.0+) the drawable class just has a single draw function.
So should you always just derive from sf::Drawable if your class draws something? Or am I missing something else?