<level>
  <playground map="mortars.map">
    <decorations>
      <platform id="1" x="1" y="24" w="6"/>
      <platform id="2" x="33" y="24" w="6" left="yellow" right="yellow"/>
    
      <mortar orientation="bottom" x="15" y="23">
        <barrel type="smart" warhead="starburst" delay="12"/>
      </mortar>
      <mortar orientation="bottom" x="24" y="23">
        <barrel type="smart" warhead="starburst" delay="8"/>
      </mortar>
    </decorations>
  </playground>

  <startposition platform="1"/>

  <gamecontrol>
  <![CDATA[
	function init() {
		addLandOnPlatformObjective(2);
	}
	
	function onObjectiveReached() {
		gameControl.finish();
	}
  ]]>
  </gamecontrol>
</level>
