public Verbiage(Verbiage v) { this.infinitive = v.infinitive; this.conjugatedVerb = v.conjugatedVerb; this.pronoun = v.pronoun; this.conjugation = v.conjugation; this.irregular = v.irregular; }
public Verbiage(string infinitive, string conjugatedVerb, PersonalPronoun pronoun, Conjugation conjugation, bool irregular) { this.infinitive = infinitive; this.conjugatedVerb = conjugatedVerb; this.pronoun = pronoun; this.conjugation = conjugation; this.irregular = irregular; }
public static bool isInHistory(int index, PersonalPronoun pronoun, List <History> historyList) { // not really the right place for this, but it gets done quietly and automatically if (historyList.Count > 20) { historyList.RemoveAt(0); } if (index < 0 && pronoun == null) { return(false); } foreach (History h in historyList) { if (h.pronoun == pronoun && h.index == index) { return(true); } } return(false); }
public History(int index, PersonalPronoun pronoun) { this.index = index; this.pronoun = pronoun; }