mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-03-03 00:29:45 +01:00
added card choice screen
This commit is contained in:
parent
a8d755a812
commit
19e8c104db
@ -14,6 +14,15 @@ public class ScreenManager {
|
||||
private IPAddressScreen ipAddressScreen;
|
||||
private LobbyScreen lobbyScreen;
|
||||
private WinnerScreen winnerScreen;
|
||||
private CardChoiceScreen cardChoiceScreen;
|
||||
|
||||
|
||||
public synchronized CardChoiceScreen getCardChoiceScreen(RoboRallyWrapper roboRallyWrapper) {
|
||||
if (this.cardChoiceScreen == null) {
|
||||
this.cardChoiceScreen = new CardChoiceScreen(roboRallyWrapper);
|
||||
}
|
||||
return cardChoiceScreen;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets an instance of the winner screen
|
||||
|
Loading…
x
Reference in New Issue
Block a user