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