Aiming Wu
/
Flappy_Bird
Implement basic functions
Embed:
(wiki syntax)
Show/hide line numbers
Begin.h
00001 #ifndef BEGIN_H 00002 #define BEGIN_H 00003 00004 #include "mbed.h" 00005 #include "N5110.h" 00006 #include "Gamepad.h" 00007 #include "Wall.h" 00008 #include "Bird.h" 00009 00010 class Begin 00011 { 00012 public: 00013 Begin(); 00014 ~Begin(); 00015 void init(); 00016 int draw(N5110 &lcd, Gamepad &pad); 00017 00018 private: 00019 00020 int _m; 00021 int _s; 00022 int _a1; 00023 int _b1; 00024 int _a2; 00025 int _b2; 00026 int _a3; 00027 int _b3; 00028 int _h; 00029 Bird _Bird; 00030 Wall _Wall; 00031 }; 00032 00033 #endif
Generated on Tue Jul 12 2022 21:10:54 by 1.7.2