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
ModeA/ModeA.h
- Committer:
- el17mtu
- Date:
- 2019-05-09
- Revision:
- 18:59befe1eaa56
- Parent:
- 14:558c85380f84
- Child:
- 20:d9987ed262c7
File content as of revision 18:59befe1eaa56:
#ifndef MODEA_H #define MODEA_H #include "mbed.h" #include "main.h" #include "N5110.h" #include "Gamepad.h" // function prototypes class ModeA { public: ModeA(); ~ModeA(); void initialise(N5110 &lcd); void Game(N5110 &lcd); private: int x_position; int y_position; int gravity; int screen_width; int bar_width; int bar_speed; int speed; int score; int size_bottom; int size_top; }; #endif