Eduardo Nava / Mbed 2 deprecated MazeRunner_Fall2017

Dependencies:   4DGL-uLCD-SE mbed wave_player

Fork of MazeRunner_Fall2017-shell by Eduardo Nava

Revision:
1:2c6ae0fe9a2a
Parent:
0:cf4396614a79
--- a/wall.h	Fri Nov 03 18:48:48 2017 +0000
+++ b/wall.h	Fri Dec 29 15:32:31 2017 +0000
@@ -42,8 +42,9 @@
  * @param[in]  ball The ball to update
  * @param[in]  wall The wall to bounce off of
  * @param[in]  delta The elapsed time, in seconds, since the previous update
+ * @return     hit if the wall was hit or not
  */
-void do_wall(Physics* next, const Physics* curr, Wall* wall, float delta);
+int do_wall(Physics* next, const Physics* curr, Wall* wall, float delta);
 
 /**
  * Draws a given wall to the screen.