Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
class Ground {
int scoreP1, scoreP2;
Ground() {
scoreP1 = 0;
scoreP2 = 0;
}
void draw() {
line(width/2, 0, width/2, height); // net
text(player1.getScore(), width/3, 50);
text(player2.getScore(), width/1.6, 50);
}
}4241982b6This file is pinned to the selected release. Download the original to open it in your design tool.