change Vector2 param to a const Vector2&
[physics.git] / src / Entities / Line.cpp
CommitLineData
ad9f1fb6
PG
1#include "Line.h"
2#include "../Vector2.h"
3
4/// ***** Public Class Methods *****
5f1f55d1 5Line::Line(const Vector2& org, const Vector2& dest, bool canDie)
ad9f1fb6
PG
6 : Particle(org, canDie), dest(dest)
7{
8
9}
5f1f55d1 10Line::Line(const Vector2& org, const Vector2& dest, float life_time)
ad9f1fb6
PG
11 : Particle(org, life_time), dest(dest)
12{
13
14}
15Line::~Line()
16{
17
18}
19
20void Line::draw()
21{
22 // TODO
23}