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: Alien/Alien.h
- Revision:
- 32:c006a9882778
- Parent:
- 31:6015e8ed859c
- Child:
- 33:7fedd8029473
diff -r 6015e8ed859c -r c006a9882778 Alien/Alien.h
--- a/Alien/Alien.h Thu May 14 18:34:56 2020 +0000
+++ b/Alien/Alien.h Thu May 14 20:04:14 2020 +0000
@@ -22,8 +22,11 @@
/** Destructor */
~Alien();
- /** Initalises Alien */
- void init(Gamepad &pad);
+ /** Initalises Alien
+ * @param position_x_start @details Random x start pos of alien
+ * @param position_y_start @details Random y start pos of alien
+ */
+ void init(Gamepad &pad, int position_x_start, int position_y_start);
/** Draws the alien
* @param lcd @details N5110 object