add TileRawDataContainer interface

This commit is contained in:
Gered 2013-08-25 15:33:04 -04:00
parent 0ab14cf49f
commit 6e5bae1246
2 changed files with 18 additions and 0 deletions

View file

@ -196,6 +196,7 @@
<Compile Include="ConfigFileException.cs" />
<Compile Include="Content\ContentManagementException.cs" />
<Compile Include="TileMap\Tile.cs" />
<Compile Include="TileMap\TileRawDataContainer.cs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
<ItemGroup>

View file

@ -0,0 +1,17 @@
using System;
namespace Blarg.GameFramework.TileMap
{
public interface TileRawDataContainer
{
Tile[] Data { get; }
int Width { get; }
int Height { get; }
int Depth { get; }
Tile Get(int x, int y, int z);
Tile GetSafe(int x, int y, int z);
}
}