From 98ba22e7064db57316dfff1ae127feb3dceeb73e Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Thu, 31 Jul 2014 13:58:22 +0200 Subject: Initial commit --- docs/html/_collision_detector_8h_source.html | 137 +++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 docs/html/_collision_detector_8h_source.html (limited to 'docs/html/_collision_detector_8h_source.html') diff --git a/docs/html/_collision_detector_8h_source.html b/docs/html/_collision_detector_8h_source.html new file mode 100644 index 0000000..675431f --- /dev/null +++ b/docs/html/_collision_detector_8h_source.html @@ -0,0 +1,137 @@ + + + + +Rally X: source/logic/CollisionDetector.h Source File + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + +
+
Rally X + +
+
ELEN3009 Project by Justin Wernick and David Schneider
+
+
+ + + + + +
+
+
source/logic/CollisionDetector.h
+
+
+Go to the documentation of this file.
00001 #ifndef COLLISIONDETECTOR_H
+00002 #define COLLISIONDETECTOR_H
+00003 
+00004 #include <list>
+00005 using namespace std;
+00006 
+00007 #include "../logic/PlayerCar.h"
+00008 #include "../logic/EnemyCar.h"
+00009 #include "../logic/Checkpoint.h"
+00010 #include "../logic/Rock.h"
+00011 #include "../logic/Smokescreen.h"
+00012 
+00022 class CollisionDetector
+00023 {
+00024     public:
+00037         void checkCollisions(list<PlayerCar>& players, list<EnemyCar>& enemies, list<Checkpoint>& checkpoints, list<Rock>& rocks, list<Smokescreen>& smokescreens);
+00038 
+00039         //assignment and copy constructors have been left with the compiler generated versions
+00040 
+00041     private:
+00048         void collision(PlayerCar& player, Checkpoint& checkpoint);
+00049 
+00056         void collision(PlayerCar& player, EnemyCar& enemy);
+00057 
+00064         void collision(PlayerCar& player, Rock& rock);
+00065 
+00072         void collision(EnemyCar& enemy, Smokescreen& smokescreen);
+00073 };
+00074 
+00075 #endif // COLLISIONDETECTOR_H
+
+
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator
+ + +
+ +
+ + + + + + + -- cgit v1.2.3