Loading files
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);
}
}8e6baf1a2This file is pinned to the selected release. Download the original to open it in your design tool.