![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Yang Zhenye 201199680
Dependencies: mbed
Diff: Rooney/Rooney.h
- Revision:
- 6:4abef55fee88
- Parent:
- 5:fcad75e9b9e1
- Child:
- 7:a69ae964412c
--- a/Rooney/Rooney.h Thu May 14 14:13:03 2020 +0000 +++ b/Rooney/Rooney.h Thu May 14 15:55:41 2020 +0000 @@ -20,20 +20,25 @@ void init(); void set_palyer_x(float joy_x, int speed); -void draw_gate(N5110 &lcd); -bool collisicon_flag(); +//void draw_gate(N5110 &lcd);] +bool collision_flag(); int * get_form(rooneybody body); int get_y(); int get_x(); int get_speed(); +void add_score(); +int get_score(); private: int _player_x; int _player_y; -bool _c_flag; +bool _collision_flag; int _speed; +int _x; +int _y; +int _score; rooneybody body; }; #endif