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
Revision 11:f026cd7d66ee, committed 2018-05-03
- Comitter:
- weiway
- Date:
- Thu May 03 23:53:58 2018 +0000
- Parent:
- 10:946a3835a7c7
- Child:
- 12:d45bc5d878ad
- Commit message:
- snakengine
Changed in this revision
| Snake_engine/Snake_engine.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Snake_engine/Snake_engine.h Thu May 03 12:46:31 2018 +0000
+++ b/Snake_engine/Snake_engine.h Thu May 03 23:53:58 2018 +0000
@@ -16,22 +16,19 @@
void draw(N5110 &lcd);
void update(Gamepad &pad);
void read_input(Gamepad &pad);
-
-
-
+
+
+
+ private:
+ void print_point;(N5110 &lcd);
+ Direction _d;
+ Snake s;
+ Fruit f;
+ float _mag;
+
+};
-
-
-
+#endif
-
-
-
-
-
-
-
-
-