change Vector2 param to a const Vector2&
[physics.git] / src / Entities / Line.h
1 #ifndef LINE_H
2 #define LINE_H
3
4 #include "Particle.h"
5 #include "../Vector2.h"
6
7 /// NOTE to SELF
8 // a Particle should be drawn for at least the next frame
9 // ie. creating a particle using ParticleE(Vector2),
10 // should draw the particle once THEN kill it
11
12 /// ***** Header Class *****
13 class Line: public Particle
14 {
15     public:
16         Line(const Vector2&, const Vector2&, bool=true);
17         Line(const Vector2&, const Vector2&, float);
18         virtual ~Line();
19
20         virtual void draw();
21
22      protected:
23         Vector2 dest;
24
25         // triangle stuffs
26         // color
27 };
28
29 #endif // LINE_H