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.
Pup.h
00001 #ifndef PUP_H 00002 #define PUP_H 00003 00004 #include "mbed.h" 00005 #include "N5110.h" 00006 #include "Gamepad.h" 00007 #include "Aim.h" 00008 #include "Heston.h" 00009 00010 /** Power up Class 00011 @date april 2020 00012 */ 00013 00014 class Pup 00015 { 00016 00017 public: 00018 Pup(); 00019 ~Pup(); 00020 void init(); 00021 void draw(N5110 &lcd, bool state); 00022 void position(int x, int y); 00023 Vector2D get_pos(); 00024 00025 private: 00026 00027 int _height; 00028 int _width; 00029 int _x; 00030 int _y; 00031 00032 }; 00033 00034 #endif
Generated on Wed Jul 13 2022 05:56:35 by
1.7.2