17 lines
529 B
C#
17 lines
529 B
C#
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);
|
|
}
|
|
}
|
|
}
|