25 #ifndef SFML_DRAWABLE_HPP
26 #define SFML_DRAWABLE_HPP
31 #include <SFML/Graphics/Export.hpp>
32 #include <SFML/Graphics/RenderStates.hpp>
Abstract base class for objects that can be drawn to a render target.
virtual ~Drawable()
Virtual destructor.
virtual void draw(RenderTarget &target, RenderStates states) const =0
Draw the object to a render target.
Define the states used for drawing to a RenderTarget.
Base class for all render targets (window, texture, ...)