recrownedgtk/RecrownedAthenaeum.Pipeline/TextureAtlas/TextureAtlasImporter.cs

17 lines
529 B
C#
Raw Normal View History

using Microsoft.Xna.Framework.Content.Pipeline;
using Newtonsoft.Json;
using System.IO;
using TImport = System.String;
namespace RecrownedAthenaeum.Pipeline.TextureAtlas
{
[ContentImporter(".tatlas", DisplayName = "Texture Atlas Importer", DefaultProcessor = "TextureAtlasProcessor")]
internal class TextureAtlasImporter : ContentImporter<TImport>
{
public override TImport Import(string filename, ContentImporterContext context)
{
return File.ReadAllText(filename);
}
}
}