29 #ifndef NOMLIB_SDL2_IDRAWABLE_HPP
30 #define NOMLIB_SDL2_IDRAWABLE_HPP
37 #include "nomlib/config.hpp"
38 #include "nomlib/graphics/Window.hpp"
75 virtual void update (
void ) = 0;
78 virtual void draw ( RenderTarget )
const = 0;
84 #endif // NOMLIB_IDRAWABLE_HEADERS defined
std::vector< std::shared_ptr< IDrawable > > SharedDrawables
Vector of std::shared_ptr definition type for the brotherhood, sir!
std::shared_ptr< IDrawable > SharedPtr
std::shared_ptr definition type at your leisure, sir!
IDrawable(void)
Do nothing at all default constructor.
Base interface class for grouping objects under a united front.
virtual ~IDrawable(void)
Do nothing at all destructor.
std::unique_ptr< IDrawable > UniquePtr
std::unique_ptr definition type for your convenience, sir!
virtual void draw(RenderTarget) const =0
Render the object onto the primary video buffer – your visible screen.
std::vector< std::unique_ptr< IDrawable > > UniqueDrawables
std::unique_ptr vector container type
virtual void update(void)=0