3 hours later

This commit is contained in:
Simon Holmberg
2012-09-28 18:59:47 +02:00
parent adfdf963d8
commit cf100c95f1
16 changed files with 1672 additions and 10 deletions
@@ -15,6 +15,7 @@ namespace DepthsBelowContentPipeline
[ContentSerializerRuntimeType("DepthsBelow.Tile, DepthsBelow")]
public class MapTileContent
{
public int LocalId;
public ExternalReference<Texture2DContent> Texture;
public Rectangle SourceRectangle;
public SpriteEffects SpriteEffects;
@@ -113,6 +114,7 @@ namespace DepthsBelowContentPipeline
// now insert the tile into our output
outLayer.Tiles[i] = new MapTileContent
{
LocalId = tileIndex,
Texture = textureContent,
SourceRectangle = sourceRect,
SpriteEffects = spriteEffects