1
0
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:
Tobydrama 2020-04-16 14:58:01 +02:00
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