mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
fjernet cardchoisescreen
This commit is contained in:
parent
847586d06c
commit
bd9dbf5555
@ -15,7 +15,6 @@ import inf112.fiasko.roborally.game_wrapper.screens.StartMenuScreen;
|
||||
*/
|
||||
public class ScreenManager {
|
||||
private BoardActiveScreen boardActiveScreen;
|
||||
private CardChoiceScreen cardChoiceScreen;
|
||||
private PowerDownScreen powerDownScreen;
|
||||
private LoadingScreen loadingScreen;
|
||||
private UsernameScreen usernameScreen;
|
||||
@ -103,15 +102,5 @@ public class ScreenManager {
|
||||
return boardActiveScreen;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets an instance of the card choice screen
|
||||
* @param roboRallyWrapper The Robo Rally launcher instance to use
|
||||
* @return A card choice screen instance
|
||||
*/
|
||||
public synchronized CardChoiceScreen getCardChoiceScreen(RoboRallyWrapper roboRallyWrapper) {
|
||||
if (this.cardChoiceScreen == null) {
|
||||
this.cardChoiceScreen = new CardChoiceScreen(roboRallyWrapper);
|
||||
}
|
||||
return cardChoiceScreen;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user