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