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: Begin/Begin.h
- Revision:
- 0:0aea7b9ba421
- Child:
- 5:abe12cabd0b7
diff -r 000000000000 -r 0aea7b9ba421 Begin/Begin.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Begin/Begin.h Sun May 05 16:27:50 2019 +0000
@@ -0,0 +1,35 @@
+#ifndef BEGIN_H
+#define BEGIN_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Wall1.h"
+#include "Bird.h"
+
+class Begin
+{
+public:
+ Begin();
+ ~Begin();
+ void init();
+ int draw(N5110 &lcd, Gamepad &pad);
+ int get_score(N5110 &lcd);
+
+private:
+
+ int _m;
+ int _s;
+ int _a1;
+ int _b1;
+ int _a2;
+ int _b2;
+ int _a3;
+ int _b3;
+ int _h;
+ Bird _Bird;
+ Wall1 _Wall1;
+};
+
+#endif
+