add texture atlas animation json POCOs
This commit is contained in:
parent
bf8052f4b6
commit
efb4090206
|
@ -227,6 +227,7 @@
|
|||
<Compile Include="Graphics\PerspectiveCamera.cs" />
|
||||
<Compile Include="Graphics\EulerPerspectiveCamera.cs" />
|
||||
<Compile Include="Graphics\Helpers\SkyBox.cs" />
|
||||
<Compile Include="Graphics\Atlas\Json\JsonTextureAtlasAnimation.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
|
||||
namespace Blarg.GameFramework.Graphics.Atlas.Json
|
||||
{
|
||||
public class JsonTextureAtlasAnimation
|
||||
{
|
||||
public string Name;
|
||||
public int TileIndex;
|
||||
public int StartIndex;
|
||||
public int EndIndex;
|
||||
public float Delay;
|
||||
public bool Loop;
|
||||
}
|
||||
}
|
||||
|
|
@ -7,7 +7,7 @@ namespace Blarg.GameFramework.Graphics.Atlas.Json
|
|||
{
|
||||
public string Texture;
|
||||
public List<JsonTextureAtlasTile> Tiles;
|
||||
|
||||
public List<JsonTextureAtlasAnimation> Animations;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue