Prints objects on to a Nokia N5110 LCD display and makes them 'fall' down the display.
Dependents: Game_Controller_Project
Diff: Objects.h
- Revision:
- 9:252abbc93565
- Parent:
- 8:27e7d776ac0b
- Child:
- 10:c79adb627a37
diff -r 27e7d776ac0b -r 252abbc93565 Objects.h --- a/Objects.h Sat Apr 15 15:05:52 2017 +0000 +++ b/Objects.h Tue Apr 18 14:27:48 2017 +0000 @@ -16,8 +16,9 @@ void init(float speed); void draw(N5110 &lcd); void undraw(N5110 &lcd); - void move(Gamepad &pad); - void bullet_time(); + void speed_select(Gamepad &pad); + float get_speed(); + void move(); int get_score_var(); int get_undraw_var(); int get_x(); @@ -25,6 +26,7 @@ private: + Basket basket; Fruit fruit; int score_var;