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: Map/Map.h
- Revision:
- 13:3585d2ea4ff4
- Parent:
- 12:b3ec47d606a5
- Child:
- 14:4b05b5c2a355
diff -r b3ec47d606a5 -r 3585d2ea4ff4 Map/Map.h
--- a/Map/Map.h Thu May 09 11:41:58 2019 +0000
+++ b/Map/Map.h Thu May 09 11:55:47 2019 +0000
@@ -86,7 +86,7 @@
/** Gives the powerup effect to the player */
virtual void giveBonus(Paddle &paddle, Ball &ball) {}
- /** Draws the powerup on the LCD */
+ /** Chooses which powerup to draw on the LCD depending on its type */
virtual void draw(N5110 &lcd, PowerUp &pUp);
};
@@ -148,7 +148,7 @@
void giveBonus(Paddle &paddle, Ball &ball) {
_pUpType->giveBonus(paddle, ball);
}
- /** Draws the powerup */
+ /** Draws each powerup on the LCD after type has been assigned*/
virtual void draw(N5110 &lcd);
};