private void draw_UIEat(int x, int y) { var img = ImageCreator.CreateImage($@"Materials\GameObjects\S{_r.Next(3,8)}.png"); Grid.SetRow(img, x); Grid.SetColumn(img, y); ResultGrid.Children.Add(img); }
private void draw_UIWall(int x, int y) { var img = ImageCreator.CreateImage(@"Materials\GameObjects\wall.png"); Grid.SetRow(img, x); Grid.SetColumn(img, y); ResultGrid.Children.Add(img); }