public void ConfirmEventChoice() { /* * ship_.ChangePopulation (-10000); * if (ship_.Population == 0) { * ShowConclusion (); * } else { * ShowShipStatus (); * } */ if (stateMachine_.currentState is EventState) { if (!gameOver_) { EventState state = (EventState)stateMachine_.currentState; state.NextEvent(); ItemManager.Instance.TurnPassed(); InventoryChanged(); } else { ShowConclusion(); } } }