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/Barrel/Barrel.h
- Revision:
- 39:1d0584a152a6
- Parent:
- 33:3894a7f846a0
--- a/lib/Barrel/Barrel.h Thu May 09 11:03:55 2019 +0000 +++ b/lib/Barrel/Barrel.h Thu May 09 11:10:09 2019 +0000 @@ -42,6 +42,7 @@ *@param pad The Gamepad class is used. *@param lcd The N5110 class is used. *@param dky The Donkey class is used. +*@return None. *@details Spawns a barrel at a random x location, then slowly falls down screen. When reaches bottom it restarts. If collision with player leads to gameover. *@code void Barrel::barrel_drop(Gamepad &pad, N5110 &lcd, Donkey &dky) {