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: Map/Map.h
- Revision:
- 2:ee9b361ba6df
- Child:
- 3:3d35ab70b565
diff -r 8e319bd14b84 -r ee9b361ba6df Map/Map.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Map/Map.h Sun May 05 21:54:07 2019 +0000 @@ -0,0 +1,20 @@ +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" + +class Map { + +public: + Map(); + ~Map(); + void init(int width,int height); + void write(int pix_x, int pix_y); + void draw(N5110 &lcd); +private: + int _w; + int _h; + int _x1; + int _x2; + int _y1; + int _y2; +}; \ No newline at end of file