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.
Diff: lib/Donkey/Donkey.h
- Revision:
- 39:1d0584a152a6
- Parent:
- 38:c575e3d6a55e
- Child:
- 40:cb40d02405c2
diff -r c575e3d6a55e -r 1d0584a152a6 lib/Donkey/Donkey.h --- a/lib/Donkey/Donkey.h Thu May 09 11:03:55 2019 +0000 +++ b/lib/Donkey/Donkey.h Thu May 09 11:10:09 2019 +0000 @@ -17,7 +17,6 @@ *@version 1.0 *@date May 2019 */ - class Donkey { public: @@ -37,6 +36,7 @@ *@brief Spawns Donkey Kong model. *@param pad The Gamepad class is used. *@param lcd The N5110 class is used. +*@return None. *@details Creates the player controlled unit Donkey Kong, then moves it left or right based on joystick input. Points on collision with bananas. Gameover on collision with barrels. *@code void Donkey::donkeykong_movement(Gamepad &pad, N5110 &lcd) {