Peng Jingran
/
Snake_copy
ccc
Diff: Food/Food.cpp
- Revision:
- 14:f898d37428b1
- Parent:
- 13:9a6aff771774
--- a/Food/Food.cpp Mon May 06 04:25:09 2019 +0000 +++ b/Food/Food.cpp Mon May 11 10:32:00 2020 +0000 @@ -8,11 +8,11 @@ } Food::~Food(){ - + } void Food::init(){ - food.x=30; + food.x=7; food.y=30; }//set the initial foof position