![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
testing documentation
Dependencies: mbed ll16j23s_test_docs
Diff: Food/Food.h
- Revision:
- 3:fcd6d70e9694
- Child:
- 4:ea3fa51c4386
diff -r 86b67b492cbc -r fcd6d70e9694 Food/Food.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Food/Food.h Wed May 20 21:25:40 2020 +0000 @@ -0,0 +1,29 @@ +#ifndef FOOD_H +#define FOOD_H + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" + +class Food +{ +public: + + Food(); + ~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: + + int _x; + int _y; + +}; +#endif \ No newline at end of file