added an object layer file to the unit tests

This commit is contained in:
Dylan Wilson
2016-02-11 21:08:23 +10:00
parent bfa26bf370
commit 4bf84e5dfa
2 changed files with 28 additions and 0 deletions
@@ -61,6 +61,7 @@
<None Include="packages.config">
<SubType>Designer</SubType>
</None>
<Content Include="TestData\isometric_tileset.png" />
<Content Include="TestData\level01.tmx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
@@ -88,6 +89,10 @@
<Content Include="TestData\astrid-animator-atlas.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="TestData\isometric.tmx" />
<None Include="TestData\test-object-layer.tmx">
<SubType>Designer</SubType>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MonoGame.Extended.Content.Pipeline\MonoGame.Extended.Content.Pipeline.csproj">
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" orientation="orthogonal" renderorder="right-down" width="25" height="15" tilewidth="64" tileheight="64" nextobjectid="12">
<objectgroup name="Object Layer 1">
<object id="1" x="131" y="65" width="311" height="311">
<properties>
<property name="shape" value="circle"/>
</properties>
<ellipse/>
</object>
<object id="7" x="240" y="440" width="322" height="186" visible="0"/>
<object id="8" type="rectangle" x="506" y="142" width="136" height="234">
<properties>
<property name="area" value="player-spawn"/>
</properties>
</object>
<object id="9" name="polygon" x="621" y="450">
<polygon points="0,0 180,90 -8,275 -45,81 38,77"/>
</object>
<object id="11" x="43" y="350">
<polyline points="0,0 28,299 326,413 461,308"/>
</object>
</objectgroup>
</map>