oopuebung/uebung04/tournament/Tournament.java
2025-05-13 12:49:13 +02:00

20 lines
482 B
Java

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