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: SpaceInvader/SpaceInvader.h
- Revision:
- 4:d744920089ea
- Parent:
- 2:794ed187ffcd
- Child:
- 5:0da65740cd5e
--- a/SpaceInvader/SpaceInvader.h Sat May 04 16:02:52 2019 +0000
+++ b/SpaceInvader/SpaceInvader.h Sun May 05 13:53:39 2019 +0000
@@ -13,7 +13,10 @@
~SpaceInvader();
void init(int height,int width);
void draw(N5110 &lcd);
- void update(Direction a,Direction b,float mag);
+ void update(Direction d,float mag);
+ void add_score();
+ int get_score();
+ Vector2D get_pos();
private: