29#ifndef NOMLIB_GRAPHICS_IDRAWABLE_HPP
30#define NOMLIB_GRAPHICS_IDRAWABLE_HPP
34#include "nomlib/config.hpp"
35#include "nomlib/core/IObject.hpp"
36#include "nomlib/graphics/RenderWindow.hpp"
96 return NOM_OBJECT_TYPE_INFO( self_type );
std::unique_ptr< self_type > unique_ptr
A type definition for a C++11 std::unique_ptr to an IDrawable object.
std::shared_ptr< self_type > shared_ptr
A type definition for a C++11 std::shared_ptr to an IDrawable object.
self_type * raw_ptr
A type definition for a C pointer – raw pointer – to an IDrawable object.
const RenderWindow RenderTarget
virtual void draw(RenderTarget &) const =0
Render the object onto the primary video buffer – your visible screen.
IDrawable(void)
Do nothing at all default constructor.
virtual ObjectTypeInfo type(void) const
Re-implements the IObject::type method.
virtual void update(void)=0
virtual ~IDrawable(void)
Do nothing at all destructor.
IObject(void)
Default constructor.
Run-time type information (RTTI) container class.