Effect methods changed from pure virtual to defaulting to a 0,0 vector
[physics.git] / src / Entities / Ball.h
CommitLineData
ad9f1fb6
PG
1#ifndef BALL_H
2#define BALL_H
3
4#include "PhysicsEntity.h"
5#include "../Vector2.h"
6
7/// ***** Header Class *****
8class Ball: public PhysicsEntity
9{
10 public:
5f1f55d1 11 Ball(const Vector2&, float radius, const float* color);
ad9f1fb6
PG
12 virtual ~Ball();
13
14 virtual void draw() const;
15
094a13b8
PG
16 float getRadius() const;
17
ad9f1fb6
PG
18 protected:
19 float radius;
5f1f55d1 20 const float* color;
ad9f1fb6
PG
21};
22
23#endif // BALL_H