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
CrossyChicken/CrossyChicken.h
- Committer:
- el19tb
- Date:
- 2020-05-04
- Revision:
- 3:648c9d5001be
- Parent:
- 2:86cef2afa648
- Child:
- 4:aae7f8d4ab78
File content as of revision 3:648c9d5001be:
#ifndef CROSSYCHICKEN_H #define CROSSYCHICKEN_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" #include "Chicken.h" #include "Car.h" struct Input{ //UP, //DOWN, //LEFT, //RIGHT }; class CrossyChicken { public: void start(); void input(); void process_input(); void clear(); void game(); void refresh(); void moveChicken(int xWay, int yWay); void moveCar(); void move(); void setup(); private: }; #endif