<level>
  <playground map="grinders.map">
    <decorations>
      <platform id="1" x="1" y="24" w="7"/>
      <platform id="2" x="32" y="24" w="7" left="yellow" right="yellow"/>

      <grinder>
        <waypoint x="184" y="32"/>
        <waypoint x="184" y="200"/>
      </grinder>
      <grinder>
        <waypoint x="296" y="200"/>
        <waypoint x="296" y="32"/>
      </grinder>
      <grinder>
        <waypoint x="408" y="32"/>
        <waypoint x="408" y="200"/>
      </grinder>
    </decorations>
  </playground>

  <startposition platform="1"/>

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