![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
testing documentation
Dependencies: mbed ll16j23s_test_docs
Diff: Food/Food.h
- Revision:
- 10:a2d643b3c782
- Parent:
- 9:0571880085cc
- Child:
- 12:33a5cff31339
diff -r 0571880085cc -r a2d643b3c782 Food/Food.h --- a/Food/Food.h Mon May 25 20:31:52 2020 +0000 +++ b/Food/Food.h Tue May 26 23:25:09 2020 +0000 @@ -5,7 +5,15 @@ #include "N5110.h" #include "Gamepad.h" #include "FXOS8700CQ.h" -#include "Map.h" + +/** SnakeEngine Class +@author Joseph Shotton +@brief All functions that exclusively control the food +@date May 2020 +@version V1.0 +*/ + + class Food { @@ -15,7 +23,7 @@ Food(); ~Food(); - void init(FXOS8700CQ &mag); + void init(Gamepad &pad, N5110 &lcd, FXOS8700CQ &mag); bool rand_pos(Gamepad &pad, N5110 &lcd); void draw(N5110 &lcd, int &_frame); void run(N5110 &lcd); @@ -27,6 +35,5 @@ int _frame; float _values; float _seed; - }; #endif \ No newline at end of file