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 Gamepad N5110
plane.h
00001 #ifndef PLANE_H 00002 #define PLANE_H 00003 00004 #include "Bitmap.h" 00005 #include "N5110.h" 00006 #include "Gamepad.h" 00007 00008 00009 struct xy{ 00010 int x; 00011 int y; 00012 }; 00013 00014 class plane{ 00015 public: 00016 void init(); 00017 void update(Gamepad &pad); 00018 void display(N5110 &lcd); 00019 xy getxy(); 00020 int getwidth(); 00021 int getheight(); 00022 00023 private: 00024 int _height; 00025 int _width; 00026 int data[56]; 00027 xy _xy; 00028 }; 00029 #endif
Generated on Sun Aug 7 2022 13:50:18 by
1.7.2