public bool CheckStatus(SaveSheetStatusEnum name, int statusPart = 1) { try { return(Statuses[name].IsStatusObtained(statusPart)); } catch (KeyNotFoundException e) { //MessageBox.Show("that status doesnt exist"); throw e; } catch (Exception e) { throw; } }
public void GainStatus(SaveSheetStatusEnum name, int statusPart = 1) { //TODO tu zobrazit aky status bol ziskany // MessageBox.Show("Gain 1 of the \"Fate of the Expedition\"."); Statuses[name].ObtainedParts[statusPart] = 1; }