add texture atlas animation json POCOs

This commit is contained in:
Gered 2013-09-04 17:33:43 -04:00
parent bf8052f4b6
commit efb4090206
3 changed files with 17 additions and 1 deletions

View file

@ -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>

View file

@ -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;
}
}

View file

@ -7,7 +7,7 @@ namespace Blarg.GameFramework.Graphics.Atlas.Json
{
public string Texture;
public List<JsonTextureAtlasTile> Tiles;
public List<JsonTextureAtlasAnimation> Animations;
}
}