![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
testing documentation
Dependencies: mbed ll16j23s_test_docs
Food/Food.h
- Committer:
- JoeShotton
- Date:
- 2020-05-20
- Revision:
- 3:fcd6d70e9694
- Child:
- 4:ea3fa51c4386
File content as of revision 3:fcd6d70e9694:
#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