private void changeScreen(GameScreen screen) { GameScreen current = getCurrentScreen(); current.dispose(); current.changeScreen(screen); }
public void showDCdialog(String message) { GameScreen current = getCurrentScreen(); current.showDCDialog(message); }