//public static int LevelNo { get; set; } public static void ResetHandler() { GameType = new GameType(); Points = 0; ActualMem = 0; ActualLevel = null; }
public async static void StartNumbersGame(int poziom) { ActualLevel = new Level(poziom); MainGrid.Children.Clear(); for (int i = 0; i < ActualLevel.Possitions.Count; i++) { var item = ActualLevel.Possitions[i]; Mem mem = new Mem(item, i); MainGrid.Children.Add(mem); } await ShowMemsFast(); }