public void endStage() { Debug.Log("endStage"); log.log("Stage is over."); if (userInputState != state.ASKINGFORCARDSTODISCARD) { activeQuest.endBidding(); } drawXNumberOfCards(1); if (activeQuest.getPlayerNum() == 0) { endQuest("All players dead"); return; } if (userInputState != state.ASKINGFORCARDSTODISCARD) { if (activeQuest.getCurrentStageNum() != activeQuest.getStageNum()) { activeQuest.setPlayerNum(0); activeQuest.nextStage(); startStage(); } else { endQuest(); } } }