formatting

This commit is contained in:
2025-05-13 13:06:17 +02:00
parent 703097ad4d
commit e7f7a20ea6
4 changed files with 50 additions and 52 deletions

View File

@@ -8,7 +8,7 @@ public class ByeGame extends Game{
private final String player1;
private final Game ref;
ByeGame(String player1, Game ref){
ByeGame(String player1, Game ref) {
super();
this.ref = ref;
this.player1 = player1;
@@ -38,8 +38,7 @@ public class ByeGame extends Game{
@Override
public List<Game> getAllGames()
{
public List<Game> getAllGames() {
List<Game> temp = new ArrayList<>();
temp.add(this);
temp.addAll(ref.getAllGames());