blob: de92ec362f842a8ca1a6b25e5551cfc507aa6466 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
using System.Collections.Generic;
using System.IO;
namespace MonoGame.Extended.Content.Pipeline.Animations
{
public class AstridAnimatorProcessorResult
{
public string TextureAtlasAssetName { get; private set; }
public string Directory { get; private set; }
public AstridAnimatorFile Data { get; private set; }
public List<string> Frames { get; private set; }
public AstridAnimatorProcessorResult(string directory, AstridAnimatorFile data, IEnumerable<string> frames)
{
Directory = directory;
Data = data;
Frames = new List<string>(frames);
TextureAtlasAssetName = Path.GetFileNameWithoutExtension(data.TextureAtlas);
}
}
}
|