![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
testing documentation
Dependencies: mbed ll16j23s_test_docs
Diff: Food/Food.h
- Revision:
- 4:ea3fa51c4386
- Parent:
- 3:fcd6d70e9694
- Child:
- 5:06fa7674622a
--- a/Food/Food.h Wed May 20 21:25:40 2020 +0000 +++ b/Food/Food.h Sat May 23 15:31:30 2020 +0000 @@ -13,17 +13,17 @@ ~Food(); void init(); - Vector2D rand_pos(int cell_size); - void draw(N5110 &lcd, int frame); - /* - void update(Direction d,float mag); - void add_score(); - int get_score(); - */ -private: + void rand_pos(Gamepad &pad, int &_x, int &_y); + void draw(N5110 &lcd, int &_frame); + void snake_food_collision(); + void do_food(N5110 &lcd); int _x; int _y; + +private: + + int _frame; }; #endif \ No newline at end of file