5#ifndef DUALIE_DRAWABLE_HPP 
    6#define DUALIE_DRAWABLE_HPP 
    8#include <Dualie/System/Vector2.hpp> 
   18        bool m_bViewDoesAffect = 
true;
 
 
The base class for any object that can be drawn to the screen.
Definition Drawable.hpp:15
 
virtual void draw(const dl::Vector2f &viewOffset)=0
Draws the drawable to the screen.
 
void viewShouldAffect(bool effective)
Set whether the current view should affect the position of the drawable. Otherwise,...
Definition Drawable.cpp:6
 
const float & getDepth() const
Definition Drawable.cpp:16
 
void setDepth(float depth)
Sets the depth of the drawable for 3d. This simply corresponds to the X offset calculated for the 2 s...
Definition Drawable.cpp:11