예제 #1
0
파일: Verbs.cs 프로젝트: DougHoople/fc
 public Verbiage(Verbiage v)
 {
     this.infinitive     = v.infinitive;
     this.conjugatedVerb = v.conjugatedVerb;
     this.pronoun        = v.pronoun;
     this.conjugation    = v.conjugation;
     this.irregular      = v.irregular;
 }
예제 #2
0
파일: Verbs.cs 프로젝트: DougHoople/fc
 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;
 }
예제 #3
0
파일: Verbs.cs 프로젝트: DougHoople/fc
        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);
        }
예제 #4
0
파일: Verbs.cs 프로젝트: DougHoople/fc
 public History(int index, PersonalPronoun pronoun)
 {
     this.index   = index;
     this.pronoun = pronoun;
 }