Guest User

sfml drawable

a guest
Apr 6th, 2015
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. class SFML_GRAPHICS_API Drawable
  2. {
  3. public:
  4.     virtual ~Drawable() {}
  5. protected:
  6.     friend class RenderTarget;
  7.     virtual void draw(RenderTarget& target, RenderStates states) const = 0;
  8. };
Advertisement
Add Comment
Please, Sign In to add comment