public static void CreateNewPlayer() { X = 0; Y = 0; PreX = 0; PreY = 0; CoordStory.Clear(); WordNow = string.Empty; WordsList.Clear(); Score = 0; }
public void FillWordLists() { WordsList.Clear(); TranslationList.Clear(); for (; count <= selectedWordsList.Count; count++) { WordsList.Add(selectedWordsList[count - 1].Word); TranslationList.Add(selectedWordsList[count - 1].Translation); if (count == edge) { partOfGame = PartOfGame.TypeWords; count++; break; } if (count % 5 == 0 && count != 0 && partOfGame == PartOfGame.MatchWords) { count++; break; } } }