FullFixGraficComponentAndDopProject

This commit is contained in:
Timofey06 2023-08-14 18:01:03 +03:00
parent 603ba0c899
commit 6981ef36f1
2 changed files with 2 additions and 2 deletions

View file

@ -4,6 +4,7 @@ using Newtonsoft.Json;
using System;
using System.Windows.Forms;
using System.IO;
using System.Linq;
namespace AnimationsFileCreator
{
@ -19,7 +20,7 @@ namespace AnimationsFileCreator
{
OpenFileDialog dialog = new OpenFileDialog();
dialog.ShowDialog();
textureName = dialog.FileName;
textureName = dialog.FileName.Split('\\').Last();
}
Console.WriteLine("Введите количество кадров анимации: ");
int framesCount = int.Parse(Console.ReadLine());

View file

@ -14,7 +14,6 @@ namespace DangerousD.GameCore
{
private GraphicsDeviceManager _graphics;
private SpriteBatch _spriteBatch;
GameState gameState;
IGameObject MenuGUI;
IGameObject OptionsGUI;