示例#1
0
文件: Sentense.cs 项目: Ravensbow/Lex
 public void AddWord(Lex.Word w)
 {
     words.Add(w);
     foreach (string s in w.TresomesKeys)
     {
         if (dane.UnUsedtreesome.ContainsKey(s) && !used_tresome.Contains(s))
         {
             used_tresome.Add(s);
         }
     }
     power = CalculatePower();
 }
示例#2
0
文件: Sentense.cs 项目: Ravensbow/Lex
 public void DeleteWord(Lex.Word w)
 {
     words.Remove(w);
     checkUniqueTresome();
     power = CalculatePower();
 }
示例#3
0
文件: Treesome.cs 项目: Ravensbow/Lex
 public void AddWord(Word word)
 {
     words.Add(word);
 }