]> git.localhorst.tv Git - sdl-test7.git/blob - src/pong/CountingWall.cpp
imported current version
[sdl-test7.git] / src / pong / CountingWall.cpp
1 /*
2  * CountingWall.cpp
3  *
4  *  Created on: Apr 17, 2012
5  *      Author: holy
6  */
7
8 #include "CountingWall.h"
9
10 using game::Entity;
11
12
13 namespace pong {
14
15 CountingWall::CountingWall(const Vector &size)
16 : Entity(&shape)
17 , shape(size)
18 , count(0) {
19
20 }
21
22 CountingWall::~CountingWall(void) {
23
24 }
25
26
27 void CountingWall::Collide(Entity &e, const Vector &normal) {
28         ++count;
29 }
30
31 void CountingWall::Render(SDL_Surface *dest) {
32
33 }
34
35 }