Some random attempts at programming the retro console
Fork of RETRO_Pong_Mod by
Diff: Game.h
- Revision:
- 4:84be90860d7c
- Parent:
- 3:2f09c90a732d
- Child:
- 5:8a26ad9d9ea1
--- a/Game.h Thu Jan 15 12:48:21 2015 +0000 +++ b/Game.h Wed Feb 25 22:53:35 2015 +0000 @@ -22,11 +22,13 @@ static const int GRAPH_SPACING = 2; static const char I2C_ADDR = 0x1C << 1; + // Start with a ball.. let's see what becomes int ballX; int ballY; int ballSpeedX; int ballSpeedY; - int paddleX; + int ballAccelX; + int ballAccelY; int pwmTicksLeft; int lives; int score; @@ -65,10 +67,6 @@ void drawString(const char* str, int y); - void clearPaddle(); - void drawPaddle(); - void updatePaddle(); - void clearBall(); void drawBall(); void updateBall();