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\PerspectiveCamera.cs" />
|
||||||
<Compile Include="Graphics\EulerPerspectiveCamera.cs" />
|
<Compile Include="Graphics\EulerPerspectiveCamera.cs" />
|
||||||
<Compile Include="Graphics\Helpers\SkyBox.cs" />
|
<Compile Include="Graphics\Helpers\SkyBox.cs" />
|
||||||
|
<Compile Include="Graphics\Atlas\Json\JsonTextureAtlasAnimation.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||||
<ItemGroup>
|
<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 string Texture;
|
||||||
public List<JsonTextureAtlasTile> Tiles;
|
public List<JsonTextureAtlasTile> Tiles;
|
||||||
|
public List<JsonTextureAtlasAnimation> Animations;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue