public bool ConditionMet(NarrativeCondition condition) { // Returns true if one condition is met (NarrativeCondition) if (!conditionDict.ContainsKey(condition.conditionType)) { return(false); } else { return(conditionDict[condition.conditionType] == condition.argument); } }
public void UpdateCondition(NarrativeCondition condition) { currConditions.Add(condition.conditionType, condition.argument); }