9#include <Dualie/Graphics/Drawable.hpp> 
   10#include <Dualie/Graphics/Color.hpp> 
A class used to describe a RGBA color.
Definition Color.hpp:19
 
The base class for any object that can be drawn to the screen.
Definition Drawable.hpp:15
 
A simple class responsible for the line object.
Definition Line.hpp:18
 
void setStartingPosition(const dl::Vector2f &startingPosition)
Sets the starting position of the line.
Definition Line.cpp:22
 
void setColor(const dl::Color &color)
Sets the color of the line.
Definition Line.cpp:37
 
const dl::Color & getColor()
Definition Line.cpp:57
 
void setThickness(float thickness)
Sets the thickness of the line.
Definition Line.cpp:32
 
void draw(const Vector2f &viewOffset) override
Draws the drawable to the screen.
Definition Line.cpp:17
 
void setEndingPosition(const dl::Vector2f &endingPosition)
Sets the ending position of the line.
Definition Line.cpp:27
 
float getThickness()
Definition Line.cpp:52
 
const dl::Vector2f & getEndingPosition()
Definition Line.cpp:47
 
const dl::Vector2f & getStartingPosition()
Definition Line.cpp:42