Commit | Line | Data |
---|---|---|
ad9f1fb6 PG |
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: | |
5f1f55d1 PG |
16 | Line(const Vector2&, const Vector2&, bool=true); |
17 | Line(const Vector2&, const Vector2&, float); | |
ad9f1fb6 PG |
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 |