Пример #1
0
        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);
        }
Пример #2
0
        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);
        }