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: Brick/Brick.h
- Revision:
- 65:ec89c0b74a71
- Parent:
- 60:63d69184ec0a
- Child:
- 66:5561cbdfb1b1
--- a/Brick/Brick.h Sun May 05 15:17:38 2019 +0000
+++ b/Brick/Brick.h Sun May 05 15:25:13 2019 +0000
@@ -11,7 +11,7 @@
Brick();
~Brick();
- void init(int x,int y,int height,int width);
+ void init(int x,int y,int height,int width, int lives);
void draw(N5110 &lcd);
bool hit();
int get_x();
@@ -27,6 +27,7 @@
int _x;
int _y;
int _lives;
+ int _base_lives;
};
#endif
\ No newline at end of file