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(); }
public void DeleteWord(Lex.Word w) { words.Remove(w); checkUniqueTresome(); power = CalculatePower(); }
public void AddWord(Word word) { words.Add(word); }