]> git.localhorst.tv Git - sdl-test7.git/blob - src/game/Collision.h
imported current version
[sdl-test7.git] / src / game / Collision.h
1 /*
2  * Collision.h
3  *
4  *  Created on: Apr 22, 2012
5  *      Author: holy
6  */
7
8 #ifndef GAME_COLLISION_H_
9 #define GAME_COLLISION_H_
10
11 #include "Entity.h"
12
13
14 namespace game {
15
16 class Collision {
17
18         public:
19                 Collision(Entity *left, Entity *right, const Entity::Vector &normal) : left(left), right(right), normal(normal) { };
20                 ~Collision(void) { };
21
22         public:
23                 Entity *left, *right;
24                 Entity::Vector normal;
25
26 };
27
28 }
29
30 #endif /* GAME_COLLISION_H_ */