<!-- 
  descirbe a physic entity.
  
    - name: Name of the entity.
    - mass: weight of the entity (mandatory if entity is not static, unused otherwise).
    - static: true or false. a static entity has an infinity weight and don't move due to collisions. (optional, false by default) 
 -->
<physicsentity name="waterfall" mass="0" static="true">

  <!-- 
    Visual representation of the entity. can be either a simple graph (texture case) or a complex 
    graph with anmiation and so created on flash (CNode case). use only one of those: if both are present, CNode
    will have priority.
      - Texture.id: id of the graph, and also name of related the png file (called xxx.png).
      - CNode.name: name of the binary file describing the CNode.
      - CNode. tag: Optional. allows to use only a subset of a model as the graphic representation.
  -->
  <visualrepresentation>
    <Texture id="11"/>
  </visualrepresentation>

  <shapelist>
    <!--
      Shape Model. Describes the aspect of a shape, and some of its parameters.
      A physic entity can have up to 5 shapes to describe it, but try to limit it to 1 whenever it's possible for
      performances issues.

          - model: can be one of those: segment,polygon,circle. see physicshapemodel
          - elasticity: any floating value. Value of 1 means perfect bounce, 0 means no bounce. 1 and higher is not recommended.
          - friction: Friction coefficient. Value of 0.0 is frictionless. For reference values see http://www.roymech.co.uk/Useful_Tables/Tribology/co_of_frict.htm.
          - radius: used for circles and segment to describe their radius. Not used for polygon.
     -->
     
     <!-- Waterfall ON-->
    <shape model="polygon" elasticity="0" friction="1" radius="0"> 
        <pointlist>
        <point x="-4.30" y="4.43"/>
        <point x="-4.30" y="24"/>
        <point x="5.10" y="24"/>
        <point x="5.10" y="4.43"/>
      </pointlist>
    </shape>
    
     <!--
     Waterfall OFF
    <shape model="polygon" elasticity="0" friction="1" radius="0"> 
        <pointlist>
        <point x="-0.9" y="4.43"/>
        <point x="-0.9" y="24"/>
        <point x="1.7" y="24"/>
        <point x="1.7" y="4.43"/>
      </pointlist>
    </shape>
    -->
    
     <!-- Waterfall GROUND-->
    <shape model="polygon" elasticity="0" friction="1" radius="0"> 
        <pointlist>
        <point x="-4.35" y="4.43"/>
        <point x="-4.35" y="6.3"/>
        <point x="5.15" y="6.3"/>
        <point x="5.15" y="4.43"/>
      </pointlist>
    </shape>

  
  	<!-- up bloc -->
    <shape model="polygon" elasticity="0.8" friction="1" radius="0"> 
        <pointlist>
        <point x="-10.55" y="-26.00"/>
        <point x="-10.35" y="-24.5"/>
        <point x="-3.69" y="-21.43"/>
        <point x="3.69" y="-21.65"/>
        <point x="9.50" y="-24.13"/>
        <point x="10.21" y="-25.90"/>
      </pointlist>
     </shape>
      
	
	
	<!-- left bloc part 1-->
	 <shape model="polygon" elasticity="0.8" friction="1" radius="0"> 
        <pointlist>
        <point x="-16" y="-0.56"/>
        <point x="-16" y="2.6"/>
        <point x="-7.0" y="6.6"/>
        <point x="-5.2" y="6.39"/>
        <point x="-5.2" y="4.43"/>
        <point x="-8.04" y="-0.35"/>
      </pointlist>
	</shape> 
	
	<!-- left bloc part 2 -->
	 <shape model="polygon" elasticity="0.8" friction="1" radius="0"> 
        <pointlist>
        <point x="-5.2" y="4.43"/>
         <point x="-5.2" y="6.39"/>
        <point x="-4.35" y="6.39"/>
        <point x="-4.35" y="4.43"/>
      </pointlist>
	</shape> 
	
	
	
	<!-- right bloc part 1-->
	 <shape model="polygon" elasticity="0.8" friction="1" radius="0"> 
       <pointlist>
        <point x="5.21" y="4.5"/>
        <point x="5.21" y="6.39"/>
        <point x="6.3" y="6.17"/> 
        <point x="6.3" y="4.42"/>
      </pointlist>
	</shape> 
	<!-- right bloc part 2-->
	 <shape model="polygon" elasticity="0.8" friction="1" radius="0"> 
       <pointlist>
        <point x="6.3" y="4.42"/>
   		<point x="6.3" y="6.17"/> 
        <point x="15.7" y="3.8"/>
        <point x="15.7" y="-0.34"/>
        <point x="8.7" y="-0.13"/>
      </pointlist>
	</shape> 


  </shapelist>
  
  <!--
    Optional.
    Collision informations used for in-game purposes. All fields are optional.
      - group: one of the defined group name in collisiongroups.
      - collisionType: one of the defined type name in collisiontypes.
      - layersbitset: bitset indicating the collision layers, for pseudo Z side collision managment.
  -->
  <collisioninfos group="" collisionType="collider" layersbitset="objects"/>
</physicsentity>
