Commit | Line | Data |
---|---|---|
1 | #ifndef BALL_H | |
2 | #define BALL_H | |
3 | ||
4 | #include "PhysicsEntity.h" | |
5 | #include "../Vector2.h" | |
6 | ||
7 | /// ***** Header Class ***** | |
8 | class Ball: public PhysicsEntity | |
9 | { | |
10 | public: | |
11 | Ball(const Vector2&, float radius, const float* color); | |
12 | virtual ~Ball(); | |
13 | ||
14 | virtual void draw() const; | |
15 | ||
16 | protected: | |
17 | float radius; | |
18 | const float* color; | |
19 | }; | |
20 | ||
21 | #endif // BALL_H |