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: element/element.h
- Revision:
- 11:357970a7a5a6
- Parent:
- 10:ae5f62a1e40e
- Child:
- 12:80e737144104
diff -r ae5f62a1e40e -r 357970a7a5a6 element/element.h
--- a/element/element.h Wed May 08 20:08:17 2019 +0000
+++ b/element/element.h Wed May 08 20:16:29 2019 +0000
@@ -17,6 +17,9 @@
element();
/** Destructor */
~element();
+ /** Set the score
+ * @param the value of the score (int)
+ */
void init(int foodsize,int foodx,int foody,int snakex,int snakey,int n);
Vector2D getfoodpos();
Vector2D getsnakepos(int n);