Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE mbed wave_player
Fork of MazeRunner_Fall2017-shell by
Diff: wall.h
- 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.