Joe Body 201215898
Embed:
(wiki syntax)
Show/hide line numbers
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