FINAL VERSION

Dependencies:   mbed

Revision:
91:c01a736fb0d9
Parent:
86:01f33d94e496
Child:
92:2e6d88e44f56
--- a/BreakoutEngine/BreakoutEngine.h	Mon May 06 19:24:32 2019 +0000
+++ b/BreakoutEngine/BreakoutEngine.h	Mon May 06 22:57:04 2019 +0000
@@ -13,13 +13,13 @@
 #include <iterator>
 
 #define GAP_TOP 10
-#define GAP 2 
+#define GAP 2
 
 /* BreajoutEngine Class
 @author James Heavey, University of Leeds
-@brief Controls the Breakout game 
+@brief Controls the Breakout game
 @date May 2019
-*/ 
+*/
 
 class BreakoutEngine
 {
@@ -45,7 +45,7 @@
     int get_score();
     void inc_mult();
     void set_mult_zero();
-    
+
 private:
 
     void check_wall_collisions(Gamepad &pad);
@@ -54,7 +54,7 @@
     void check_laser_collisions(Gamepad &pad);
     void print_scores(N5110 &lcd);
     void one_less();
-     
+
     int _paddle_width;
     int _paddle_height;
     int _ball_size;
@@ -62,25 +62,25 @@
     int _index;
     int _multiplier;
     double _cool_time;
-    
+
     int _paddley;
     int _number_left;
     int _prev_score;
     int _score;
-    
+
     Direction _d;
     float _mag;
-    
+
     Paddle _paddle;
-    
+
     Ball _ball;
-    
+
     std::list<Laser> listofLasers;
     std::list<Laser>::iterator it_L;
-    
+
     std::list<Brick> listofBricks;
-    std::list<Brick>::iterator it_R; 
-    
+    std::list<Brick>::iterator it_R;
+
     Brick _brick11;
     Brick _brick12;
     Brick _brick13;
@@ -99,7 +99,7 @@
     Brick _brick34;
     Brick _brick35;
     Brick _brick36;
-    
+
     Laser _laser1;
     Laser _laser2;
     Laser _laser3;