![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
testing documentation
Dependencies: mbed ll16j23s_test_docs
Diff: Food/Food.h
- Revision:
- 9:0571880085cc
- Parent:
- 8:bcc3403d7e79
- Child:
- 10:a2d643b3c782
diff -r bcc3403d7e79 -r 0571880085cc Food/Food.h --- a/Food/Food.h Mon May 25 14:45:32 2020 +0000 +++ b/Food/Food.h Mon May 25 20:31:52 2020 +0000 @@ -5,6 +5,7 @@ #include "N5110.h" #include "Gamepad.h" #include "FXOS8700CQ.h" +#include "Map.h" class Food { @@ -17,14 +18,12 @@ void init(FXOS8700CQ &mag); bool rand_pos(Gamepad &pad, N5110 &lcd); void draw(N5110 &lcd, int &_frame); - void snake_food_collision(); - void do_food(N5110 &lcd); + void run(N5110 &lcd); int _x; int _y; private: - int _frame; float _values; float _seed;