This commit is contained in:
2025-05-13 12:49:13 +02:00
parent 192db94f14
commit 136be17443
6 changed files with 260 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package tournament;
import java.util.List;
public class Tournament {
private final Game finale;
private final String name;
public Tournament(String name, Game finale)
{
this.finale = finale;
this.name = name;
}
public List<String> getAllPlayers() {return finale.getAllPlayers();}
public List<Game> getAllGames() {return finale.getAllGames();}
public List<String> getRemainingPlayers() {return finale.getRemaningPlayers();}
}