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:
- 34:07ded1f83c59
- Parent:
- 32:4dba7a85dbb2
- Child:
- 60:63d69184ec0a
--- a/Brick/Brick.h Thu Apr 25 18:51:59 2019 +0000
+++ b/Brick/Brick.h Thu Apr 25 20:26:50 2019 +0000
@@ -14,8 +14,10 @@
void init(int x,int y,int height,int width);
void draw(N5110 &lcd);
bool hit();
- Vector2D get_pos();
- void set_pos(Vector2D p);
+ int get_x();
+ int get_y();
+ void set_posx(int x);
+ void set_posy(int y);
private: