<level>
  <playground map="sams.map">
    <decorations>
      <platform id="1" x="2" y="23" w="6"/>
      <platform id="2" x="32" y="23" w="6" left="yellow" right="yellow"/>

      <sam orientation="bottom" x="14" y="24" delay="3"
           heading="smart" warhead="normal"/>
      <sam orientation="bottom" x="24" y="24" delay="4"
           heading="smart" warhead="normal"/>
    </decorations>
  </playground>

  <startposition platform="1"/>

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