![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
testing documentation
Dependencies: mbed ll16j23s_test_docs
Diff: Food/Food.h
- Revision:
- 5:06fa7674622a
- Parent:
- 4:ea3fa51c4386
- Child:
- 7:dd84e0fab346
diff -r ea3fa51c4386 -r 06fa7674622a Food/Food.h --- a/Food/Food.h Sat May 23 15:31:30 2020 +0000 +++ b/Food/Food.h Sat May 23 17:16:44 2020 +0000 @@ -4,15 +4,17 @@ #include "mbed.h" #include "N5110.h" #include "Gamepad.h" +#include "FXOS8700CQ.h" class Food { + public: Food(); ~Food(); - void init(); + void init(FXOS8700CQ &mag); void rand_pos(Gamepad &pad, int &_x, int &_y); void draw(N5110 &lcd, int &_frame); void snake_food_collision(); @@ -24,6 +26,8 @@ private: int _frame; - + float _values; + float _seed; + }; #endif \ No newline at end of file