40f2e2af0f26de0619fbdc515082ec8e4993b350
[physics.git] / src / Entities / Ball.h
1 #ifndef BALL_H
2 #define BALL_H
3
4 #include "PhysicsEntity.h"
5 #include "../Vector2.h"
6
7
8 /// ***** Header Class *****
9
10 class Ball: public PhysicsEntity
11 {
12   public:
13     Ball(const Vector2&, float radius, const float* color);
14     virtual ~Ball();
15
16     virtual void draw() const;
17
18     float getRadius() const;
19
20   protected:
21     float radius;
22     const float* color;
23 };
24
25 #endif // BALL_H