Created method to set position of paddle

This commit is contained in:
2024-02-28 00:05:05 -05:00
parent a37ec79f09
commit 349b0b78db
2 changed files with 9 additions and 0 deletions

View File

@@ -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();