Add game tab to options menu, fix focus of GUI elements, add Delete option for save file

This commit is contained in:
2025-11-18 20:28:43 -08:00
parent 0afbf38bf9
commit f69e219643
14 changed files with 211 additions and 62 deletions

View File

@@ -74,4 +74,8 @@ public class SaveFileManager : ISaveFileManager
var json = JsonSerializer.Serialize(gameData, jsonOptions);
await _fileSystem.File.WriteAllTextAsync(filePath, json);
}
public void DeleteSaveData() => DeleteSaveData(_defaultSaveLocation);
public void DeleteSaveData(string filePath) => _fileSystem.File.Delete(filePath);
}