![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Doxygen comments added
Dependencies: mbed Gamepad N5110
Diff: Bird/Bird.h
- Revision:
- 6:bc580b480ac8
- Parent:
- 3:5409b50b01b0
- Child:
- 10:75de0f4da176
--- a/Bird/Bird.h Thu May 02 18:42:43 2019 +0000 +++ b/Bird/Bird.h Mon May 06 10:57:08 2019 +0000 @@ -5,20 +5,24 @@ #include "N5110.h" #include "Gamepad.h" +//Gamepad pad; + class Bird { public: //Bird(); //~Bird(); - void init(int xvalue, int yvalue); - //void draw(N5110 &lcd); + void init(int xpos, int ypos); + void draw(N5110 &lcd); + int get_position(int y, Gamepad &pad); private: - int _xvalue; - int _yvalue; - //const int movingbird; + int _xpos; + int _ypos; + int _y; + }; #endif \ No newline at end of file