not final
Dependencies: mbed
Diff: Touch/Touch.h
- Revision:
- 6:b393cfe4e0a7
- Parent:
- 5:7207c9b70108
- Child:
- 7:f61ac963eb07
--- a/Touch/Touch.h Wed May 27 21:13:59 2020 +0000 +++ b/Touch/Touch.h Thu May 28 01:11:47 2020 +0000 @@ -17,15 +17,15 @@ Touch(); ~Touch(); - void init(int Board_width,int Board_height,int bullet_size,int speed,N5110 &lcd); + void init(int Board_width,int Board_height,int bullet_size,int speed); void read_input(Gamepad &pad); - void update(Gamepad &pad,N5110 &lcd); + void update(Gamepad &pad); void draw(N5110 &lcd); private: void check_wall_collision(Gamepad &pad); - void check_Board_collisions(Gamepad &pad,N5110 &lcd); + void check_Board_collisions(Gamepad &pad); void check_goal(Gamepad &pad); void print_scores(N5110 &lcd);