4 * Created on: Apr 17, 2012
8 #ifndef PONG_COUNTINGWALL_H_
9 #define PONG_COUNTINGWALL_H_
11 #include "../game/Entity.h"
12 #include "../shape/AABB.h"
19 : public game::Entity {
22 CountingWall(Scalar width, Scalar height);
23 virtual ~CountingWall(void);
26 int HitCount(void) { return count; };
29 virtual void Collide(Entity &other, const Ray &);
30 virtual void Render(SDL_Surface *dest) const;
40 #endif /* PONG_COUNTINGWALL_H_ */