player 1
Dependencies: 4DGL-uLCD-SE PinDetect SparkfunAnalogJoystick mbed-rtos mbed SDFileSystem
Fork of 4180FinalLab by
Wireless 2 Player Pong game
Diff: ball.cpp
- Revision:
- 8:8cc2aa78348c
- Parent:
- 4:7da18e3c590b
--- a/ball.cpp Wed Apr 27 15:23:41 2016 +0000 +++ b/ball.cpp Thu Apr 28 19:58:48 2016 +0000 @@ -6,7 +6,7 @@ diameter = size; } -void Ball::setVx(double newvx){ +void Ball::setVx(uint8_t newvx){ vx = newvx; } @@ -14,7 +14,7 @@ vxDir = dir; } -void Ball::setVy(double newVy){ +void Ball::setVy(uint8_t newVy){ vy = newVy; }