<?xml version="1.0" encoding="utf-8"?>
<!-- 
Este es un ejemplo de fichero de descripción de un mapa
Sólo son algunas ideas formateadas en xml, hay que refinar

Los objetos pueden ser anónimos o tener un nombre asociado

-->

<map>
	<name>test map</name>
	<description value=""/>
	<minPlayers value="2"/>
	<maxPlayers value="4"/>

	<!-- definir tipo de mapa, las reglas estarán en otra parte, pero los datos aquí -->
	<type value="race">
		<laps value="3"/>
	</type>
	
	<heightfield>
		<mapHeight>65</mapHeight>

		<heightMap>Content/Maps/test</heightMap>
		<lightMap>Content/Maps/test_l0</lightMap>
		<alphaMap>Content/Maps/test_d0</alphaMap>
		<texture0 file="brownsand" scale="27"/>
		<texture1 file="littlerocks" scale="28"/>
		<texture2 file="longGrass" scale="27"/>
		<texture3 file="pebbles" scale="7"/>
	</heightfield>

	<startPoints>
		<point x="0" y="0" z="0"/>
		<point x="0" y="0" z="0"/>
		<point x="0" y="0" z="0"/>
		<point x="0" y="0" z="0"/>
	</startPoints>

	<spawnPoints>
		<spawnPoint>
			<time>10</time>
			<position x="100" z="20"/>
			<type prob="0.7">HealthBox</type>
			<type prob="0.3">GrenadeBox</type>
		</spawnPoint>
	</spawnPoints>
	
	<objects>
		<object class="plant">
			<position x="0" z="0"/>
		</object>
		<object class="plant">
			<position x="50" z="50"/>
		</object>
		<object class="plant">
			<position x="150" z="150"/>
		</object>
		<object class="plant">
			<position x="200" z="150"/>
		</object>
		<object class="plant">
			<position x="250" z="150"/>
		</object>
		<object class="plant">
			<position x="300" z="300"/>
		</object>

		<object class="box2">
			<position x="299" z="350"/>
			<rotation>20</rotation>
		</object>
		<object class="box">
			<position x="310" z="350"/>
			<rotation>40</rotation>
		</object>
		<object class="box">
			<position x="305" z="344"/>
			<rotation>10</rotation>
		</object>
		<object class="box">
			<position x="310" z="355"/>
			<rotation>35</rotation>
		</object>
		<object class="plant">
			<position x="305" z="350"/>
		</object>

	</objects>
</map>
