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/_car_8h_source.html | 134 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 docs/html/_car_8h_source.html (limited to 'docs/html/_car_8h_source.html') diff --git a/docs/html/_car_8h_source.html b/docs/html/_car_8h_source.html new file mode 100644 index 0000000..ea3d522 --- /dev/null +++ b/docs/html/_car_8h_source.html @@ -0,0 +1,134 @@ + + + + +Rally X: source/logic/Car.h Source File + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + +
+
Rally X + +
+
ELEN3009 Project by Justin Wernick and David Schneider
+
+
+ + + + + +
+
+
source/logic/Car.h
+
+
+Go to the documentation of this file.
00001 #ifndef CAR_H
+00002 #define CAR_H
+00003 
+00004 #include <cmath>
+00005 using namespace std;
+00006 
+00007 #include "../presentation/BitmapStore.h"
+00008 #include "../logic/GameObject.h"
+00009 #include "../logic/MazeMath.h"
+00010 
+00020 class Car : public GameObject
+00021 {
+00022     public:
+00031         Car(double x, double y, BitmapStore::Image image, Maze::Direction facing);
+00032 
+00033         //assignment and copy constructors have been left with the compiler generated versions
+00034 
+00040         double speed() const;
+00041 
+00042     protected:
+00051         void move(const Maze& maze);
+00052 
+00053         double _speed; 
+00054         static const double _baseSpeed = 0.1; 
+00055 };
+00056 
+00057 #endif // CAR_H
+
+
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator
+ + +
+ +
+ + + + + + + -- cgit v1.2.3