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: mbed
Diff: Enemy/Enemy.h
- Revision:
- 23:9610a8f91336
- Parent:
- 22:f329b05e26ff
diff -r f329b05e26ff -r 9610a8f91336 Enemy/Enemy.h
--- a/Enemy/Enemy.h Tue May 26 23:36:52 2020 +0000
+++ b/Enemy/Enemy.h Tue May 26 23:41:09 2020 +0000
@@ -15,7 +15,7 @@
{
public:
/**
- * @brief Constructor that sets inital x and y with random seet
+ * @brief Constructor that sets inital x and y with random seed
* @param x and y @details x and y in pixels (places enemy somewhere on the edge of a 84x48 board)
*/
Enemy(int seed);
@@ -27,7 +27,7 @@
///Y value accessor
int get_y();
/**
- * @brief Reset enemy to edge with random seed, and creates an animation on death
+ * @brief Mutator to reset enemy to edge with random seed, and creates an animation on death
* @param seed, lcd @details integer seed and pointer to lcd
*/
void reset(int seed, N5110 &lcd);