public class TournamentBracketModel extends Object
Constructor and Description |
---|
TournamentBracketModel(GameControlList gameControlList,
TournamentControl tournamentControl)
Standard constructor
|
Modifier and Type | Method and Description |
---|---|
List<de.smarten.tsuro.shared.gamemodel.Configuration> |
getConfigurations()
Getter for all configurations
|
LevelControl |
getCurrentLevelControl()
Getter for current LevelControl
|
LevelControl |
getNextLevelControl()
Getter for next LevelControl
|
void |
rotateLevelControl()
Sets the nextLevelControl as currentLevelControl and creates a new nextLevelControl
|
void |
setTournamentName(String name)
Sets the name of this tournament.
|
public TournamentBracketModel(GameControlList gameControlList, TournamentControl tournamentControl)
gameControlList
- the given game control listtournamentControl
- the given tournament controlpublic void setTournamentName(String name)
name
- the name for the tournamentpublic LevelControl getCurrentLevelControl()
public LevelControl getNextLevelControl()
public void rotateLevelControl()
public List<de.smarten.tsuro.shared.gamemodel.Configuration> getConfigurations()
Copyright © 2017 smarTen. All rights reserved.