Library that draws a basket on a Nokia N5110 LCD display and allows it to be moved left/right on the display using buttons or a joystick.
Dependents: Game_Controller_Project
Diff: Basket.h
- Revision:
- 8:48c5adc809e1
- Parent:
- 6:2aec1ed2a75a
- Child:
- 9:05fd30d491f1
diff -r 7b71dd93b2f8 -r 48c5adc809e1 Basket.h --- a/Basket.h Tue Apr 04 16:31:21 2017 +0000 +++ b/Basket.h Tue Apr 18 14:27:06 2017 +0000 @@ -13,7 +13,8 @@ ~Basket(); void init(int y, int width); void draw(N5110 &lcd); - void move(Direction d, float mag, Gamepad &pad); + void move_stick(Direction d, float mag); + void move_LR(Gamepad &pad); void add_score_1(); void add_score_2(); void add_score_5();