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 Gamepad N5110
Diff: snake/snake.h
- Revision:
 - 11:543c62bed764
 - Parent:
 - 9:18b059e5abb9
 
diff -r 68076e3dcc33 -r 543c62bed764 snake/snake.h
--- a/snake/snake.h	Sat Apr 20 15:15:44 2019 +0000
+++ b/snake/snake.h	Sun Apr 21 10:51:50 2019 +0000
@@ -14,10 +14,10 @@
     int get_score();
     int get_length();
     int over;
+    int hscore;
     void init(int size,int length);
     void update(int direction, int length);
     void draw(N5110 &lcd, int length);
-    void add_score();
     void check_eat(Gamepad &pad);
     void check_over(N5110 &lcd);