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