graphics moved to folder, Make flags updated
[physics.git] / src / Entities / Ball.cpp
CommitLineData
ad9f1fb6
PG
1#include "Ball.h"
2#include "../Vector2.h"
44b079f8 3#include "../graphics/graphics.h"
ad9f1fb6
PG
4
5/// ***** Public Class Methods *****
6Ball::Ball(Vector2 pos, float radius)
7 : PhysicsEntity(pos), radius(radius)
8{
9
10}
11Ball::~Ball()
12{
13
14}
15
16void Ball::draw() const
17{
18 // TODO
44b079f8
PG
19
20 glDrawCircle(radius, &position);
ad9f1fb6 21}