uebung04
This commit is contained in:
19
uebung04/tournament/Tournament.java
Normal file
19
uebung04/tournament/Tournament.java
Normal 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();}
|
||||
}
|
||||
Reference in New Issue
Block a user