Created method to set position of paddle
This commit is contained in:
@@ -25,6 +25,9 @@ public:
|
||||
/* Increments the number of points that this paddle has earned */
|
||||
void incrementPoints();
|
||||
|
||||
/* Sets the paddle position */
|
||||
void setPosition(int x, int y);
|
||||
|
||||
/* Resets the paddle position */
|
||||
void reset();
|
||||
|
||||
|
Reference in New Issue
Block a user