Beispiel #1
0
 public Verbiage(Verbiage v)
 {
     this.infinitive     = v.infinitive;
     this.conjugatedVerb = v.conjugatedVerb;
     this.pronoun        = v.pronoun;
     this.conjugation    = v.conjugation;
     this.irregular      = v.irregular;
 }
Beispiel #2
0
 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;
 }
Beispiel #3
0
        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);
        }
Beispiel #4
0
 public History(int index, PersonalPronoun pronoun)
 {
     this.index   = index;
     this.pronoun = pronoun;
 }