d28947e2af4081e419651795090f1b69bb41abd1
[physics.git] / src / Entities / Line.cpp
1 #include "Line.h"
2
3 #include "../Vector2.h"
4
5
6 /// ***** Constructors/Destructors *****
7
8 Line::Line(const Vector2& org, const Vector2& dest, bool canDie)
9     : Particle(org, canDie), dest(dest)
10 {
11
12 }
13 Line::Line(const Vector2& org, const Vector2& dest, float life_time)
14     : Particle(org, life_time), dest(dest)
15 {
16
17 }
18 Line::~Line()
19 {
20
21 }
22
23 /// ***** Public Class Methods *****
24
25 void Line::draw()
26 {
27     // TODO
28 }