Uses accompanying Basket, Objects and Fruit libraries to create Fruit Basket game. If an object is caught, points are added; if an object in missed, a 'life' is lost.
Dependents: Game_Controller_Project
Diff: Catch_Model.cpp
- Revision:
- 12:f7d6003e5c6b
- Parent:
- 11:68e7c942f67b
- Child:
- 13:ae2dac4ab786
diff -r 68e7c942f67b -r f7d6003e5c6b Catch_Model.cpp --- a/Catch_Model.cpp Wed Apr 19 14:34:31 2017 +0000 +++ b/Catch_Model.cpp Thu Apr 20 14:26:32 2017 +0000 @@ -35,7 +35,7 @@ basket.move_stick(_d, _mag); basket.move_LR(pad); - objects.move(objects.speed_select(pad)); + objects.move(_objects_speed); } void Catch_Model::draw(N5110 &lcd)