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: Cylinder/Cylinder.h
- Revision:
- 1:85ab0d979b57
- Parent:
- 0:97418ec4c37d
- Child:
- 4:ed68b20e2075
--- a/Cylinder/Cylinder.h Tue Apr 23 16:04:18 2019 +0000 +++ b/Cylinder/Cylinder.h Sat May 04 08:53:09 2019 +0000 @@ -1,9 +1,7 @@ #ifndef CYLINDER_H #define CYLINDER_H -#include "mbed.h" -#include "N5110.h" -#include "Gamepad.h" +#include "Bird.h" struct Data { int x1; @@ -20,6 +18,7 @@ class Cylinder { public: void init(); + void select(N5110 &lcd, Gamepad &pad); void draw(N5110 &lcd); void update(); void check(); @@ -46,8 +45,12 @@ int _gap3; int _score; int _yourscore; + int _state; + int _speed; + Bird _bird; Data _data; + }; #endif