]> git.localhorst.tv Git - sdl-test8.git/blob - src/pong/Ball.h
added Makefile
[sdl-test8.git] / src / pong / Ball.h
1 /*
2  * Ball.h
3  *
4  *  Created on: Apr 9, 2012
5  *      Author: holy
6  */
7
8 #ifndef PONG_BALL_H_
9 #define PONG_BALL_H_
10
11 #include "../game/Entity.h"
12 #include "../shape/Circle.h"
13
14
15 namespace pong {
16
17 class Ball
18 : public game::Entity {
19
20         public:
21                 explicit Ball(Scalar radius);
22                 virtual ~Ball(void) { };
23
24         public:
25                 virtual void Render(SDL_Surface *dest) const;
26
27         private:
28                 shape::Circle shape;
29
30 };
31
32 }
33
34 #endif /* PONG_BALL_H_ */