Commit | Line | Data |
---|---|---|
ad9f1fb6 PG |
1 | #include "Ball.h" |
2 | #include "../Vector2.h" | |
44b079f8 | 3 | #include "../graphics/graphics.h" |
ad9f1fb6 PG |
4 | |
5 | /// ***** Public Class Methods ***** | |
6 | Ball::Ball(Vector2 pos, float radius) | |
7 | : PhysicsEntity(pos), radius(radius) | |
8 | { | |
9 | ||
10 | } | |
11 | Ball::~Ball() | |
12 | { | |
13 | ||
14 | } | |
15 | ||
16 | void Ball::draw() const | |
17 | { | |
18 | // TODO | |
44b079f8 PG |
19 | |
20 | glDrawCircle(radius, &position); | |
ad9f1fb6 | 21 | } |