![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Brickbreaker
Dependencies: NokiaLCD PS2 mbed
Fork of Pong by
Diff: paddle.h
- Revision:
- 3:e1328f84b107
- Parent:
- 1:3cc8b1413557
diff -r d1031c73e187 -r e1328f84b107 paddle.h --- a/paddle.h Mon Feb 28 00:22:23 2011 +0000 +++ b/paddle.h Mon Apr 29 18:14:57 2013 +0000 @@ -16,7 +16,7 @@ void moveCPU(NokiaLCD &lcd, int _y); void draw(NokiaLCD &lcd, bool isBlack) const; bool loseLife(); - void addPoint(); + void addPoints(int p); int size() const; int getWidth() const; int getHeight() const; @@ -25,5 +25,6 @@ int getLives() const; int getScore() const; void setLives(int l); + void setScore(int s); }; \ No newline at end of file