Game-Design / Sprint3_actual / XML_LevelLoading / Dungeon2 / Level5.xml
Level5.xml
Raw
<?xml version="1.0" encoding="UTF-8" ?>
<XnaContent>
	<Asset Type="DungeonRooms.LevelObjectData[]">
		<!-- Draw room border and doors -->
		<Item>
			<ObjectType>Background</ObjectType>
			<ObjectName>0</ObjectName>
			<Location>0 0</Location>
		</Item>
		<!-- Open door top -->
		<Item>
			<ObjectType>Door</ObjectType>
			<ObjectName>2</ObjectName>
			<Location>336 0</Location>
		</Item>
		<!-- Locked door right -->
		<Item>
			<ObjectType>Door</ObjectType>
			<ObjectName>15</ObjectName>
			<Location>672 216</Location>
		</Item>
		<!-- Open door bottom -->
		<Item>
			<ObjectType>Door</ObjectType>
			<ObjectName>20</ObjectName>
			<Location>336 432</Location>
		</Item>
		<!-- Open door left -->
		<Item>
			<ObjectType>Door</ObjectType>
			<ObjectName>8</ObjectName>
			<Location>0 216</Location>
		</Item>
		
		<!--  Start Blocks row 1  -->
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>144 144</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>144 240</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>144 336</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>240 144</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>240 240</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>240 336</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>336 144</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>336 240</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>336 336</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>384 144</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>384 240</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>384 336</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>480 144</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>480 240</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>480 336</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>576 144</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>576 240</Location>
		</Item>
		<Item>
			<ObjectType>Block</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>576 336</Location>
		</Item>
		
		<!-- Draw Link, NPCs, and Items -->
		<Item>
			<ObjectType>NPC</ObjectType>
			<ObjectName>9</ObjectName>
			<Location>240 96</Location>
		</Item>
		<Item>
			<ObjectType>NPC</ObjectType>
			<ObjectName>9</ObjectName>
			<Location>384 192</Location>
		</Item>
		<Item>
			<ObjectType>NPC</ObjectType>
			<ObjectName>9</ObjectName>
			<Location>240 384</Location>
		</Item>
		<Item>
			<ObjectType>Link</ObjectType>
			<ObjectName>0</ObjectName>
			<Location>336 336</Location>
		</Item>
	</Asset>
</XnaContent>