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:
- 12:b3ec47d606a5
- Parent:
- 11:bb36db678a6d
- Child:
- 13:3585d2ea4ff4
diff -r bb36db678a6d -r b3ec47d606a5 Map/Map.h
--- a/Map/Map.h Thu May 09 11:24:12 2019 +0000
+++ b/Map/Map.h Thu May 09 11:41:58 2019 +0000
@@ -11,11 +11,11 @@
/** Struct containing all parameters for the bricks */
struct Brick {
- int x, y, w, h; /**x and y coords, width, height*/
+ int x, y, w, h; // x and y coords, width, height
};
-/** Forward declaration */
+// Forward declaration
class Map;
@@ -29,8 +29,8 @@
class Level
{
public:
- /** Draws the bricks and stores them in the levels vector
- * Virtual as it changes for each level
+ /** Draws the bricks and stores them in the levels vector,
+ * virtual as it changes for each level
*/
virtual void initBricks(Map &map) {}
};
@@ -73,7 +73,7 @@
*/
-/** Forward declaration since needed in PowerUpType struct */
+// Forward declaration since needed in PowerUpType struct
class PowerUp;
/** Struct which contains all the powerup parameters and functions */