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: Snake_engine/Snake_engine.h
- Revision:
- 10:946a3835a7c7
- Child:
- 11:f026cd7d66ee
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Snake_engine/Snake_engine.h Thu May 03 12:46:31 2018 +0000
@@ -0,0 +1,37 @@
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Snake.h"
+#include "Fruit.h"
+
+#ifndef SNAKENGINE_H
+#define SNAKENGINE_H
+
+class snake_enging
+{
+ public:
+ snake_engine();
+ ~snake_engine();
+ void init();
+ void draw(N5110 &lcd);
+ void update(Gamepad &pad);
+ void read_input(Gamepad &pad);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+