add TileRawDataContainer interface
This commit is contained in:
parent
0ab14cf49f
commit
6e5bae1246
|
@ -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>
|
||||
|
|
17
Blarg.GameFramework/TileMap/TileRawDataContainer.cs
Normal file
17
Blarg.GameFramework/TileMap/TileRawDataContainer.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
|
Reference in a new issue