change Vector2 param to a const Vector2&
[physics.git] / src / Entities / Point.h
1 #ifndef POINT_H
2 #define POINT_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 Point: public Particle
14 {
15     public:
16         Point(const Vector2&, bool=true);
17         Point(const Vector2&, float);
18         virtual ~Point();
19
20         virtual void draw();
21
22      protected:
23         float radius;
24         // color
25 };
26
27 #endif // POINT_H