<container w='250' h='150' stateStop="1"> 

  


  
  <image  x="0" y="10" filename="data/gui/power_rim.png" />
  
   <container x="15" y="25"  w='78' h='85' stateDataSource="UserResourcesController rocketAvailableState"> 
		 <state name="available" visible="1" /> 
		 <state name="unavailable" visible="0" /> 
		 
      <button name="rocket_button"                x="0" y="0" w="60" h="60" text="" on_click="GameBoardController activateRocket">
        <image name="default" x="0" y="0" filename="data/gui/buttons/powers/rocket_d.png" visible="1" />
        <image name="active" x="0" y="0" filename="data/gui/buttons/powers/rocket_a.png" visible="0" />
        <image name="pressed" x="2" y="2" filename="data/gui/buttons/powers/rocket_a.png" visible="0" />
      </button>
      <image x="43" y="53" filename="data/gui/powerup_counter.png" />
      <text x="67" y="60" align="center" color="ffffff" name="time" text="99" font="data/fonts/dsgoose_20_simple.xml"  dataSource='UserResourcesController rocketsCount'/>
	  </container>	

   <container x="15" y="25"  w='78' h='85' stateDataSource="UserResourcesController rocketAvailableState"> 
		 <state name="available" visible="0" /> 
		 <state name="unavailable" visible="1" /> 
		 
      <button name="rocket_unavailable_button"                x="0" y="0" w="60" h="60" text="" on_click="showShop">
        <image name="default" x="0" y="0" filename="data/gui/buttons/powers/rocket_dis.png" visible="1" />
        <image name="active" x="0" y="0" filename="data/gui/buttons/powers/rocket_dis.png" visible="0" />
        <image name="pressed" x="2" y="2" filename="data/gui/buttons/powers/rocket_dis.png" visible="0" />
      </button>
      
      
      <image  x="-15" y="-15" filename="data/gui/power_pbar_empty.png" enabled="0" />
      <progress name="rocket_progress" circular="1" x="-15" y="-15" w="90" h="90" filename="data/gui/power_pbar_filled.png" enabled="0" dataSource="GameBoardController rocketFillProgress" />
    
    
      <image x="43" y="53" filename="data/gui/powerup_counter.png" />
 	    <container name=""  x="43" y="53" w='100' h='100' content="data/partials/inap_but.xml" visible="1"/>
 
    </container>	
    

	<container x="15" y="25"  w='102' h='102' name="power_lock_rocket" visible="1" stateDataSource="UserResourcesController rocketEnabledState" stateStop="1"> 
		<state name="enabled" visible="0" />
		<state name="disabled" visible="1" />
    <image  x="-15" y="-15" filename="data/gui/power_lock.png"  />
    
    <tooltip color="00000000">
      <state name="visible" next_state="visible2" color="ffffff00"/>
      <state name="visible2" color="ffffffff"/>
 
      <transition from="hidden" to="default" time="1.0"/>
      <transition from="default" to="visible" time="1.0"/>
   
      <image9 x='-80' y='-90' w="150" h="85" color="ffffff88" filename="data/gui/big_cb_composit.png" corner="38"/>
			<text x="-63" y="-80" w="116" h="80" line_height="20" align="center"  color="fffedd" text="power_tooltip_rocket" font="data/fonts/dsgoose_20_simple.xml" />
    </tooltip>    
	</container>
   
  
    <container name="rocket_hint" x="5" y="15"  w='1' h='1' visible="0"> 
    <affine_animation x="0" y="0" w="80" h="80" filename="data/effects/animations/power_effect.anim.xml" autoremove="1">
			<image x="0" y="0"  filename="data/gfx/rocket_hl.png"   />
		</affine_animation>
          
    <affine_animation x="-3" y="17" w="80" h="80" filename="data/effects/animations/power_rotate.anim.xml" autoremove="1">
		  
    <particle_system x="0" y="0" w="20" h="20" filename="data/gfx/particles/rcp_2.png" start_color="ffffff88" end_color="fff36fff" start_size="2"  end_size="0.3" >
      <particle_emitter 
      energy_min="0.8" 
      energy_max="1.5" 
      once="0" speed="25" 
      spread="360" 
      speed_min="0" 
      speed_max="2"
	
      radial_min="1" radial_max="2" tangential_min="1" tangential_max="2"
	
      position_left="20" 
	    position_top="0"
	    position_right="21"
	    position_bottom="0"

    
	/>
	
  </particle_system>

  
      <particle_system x="0" y="0" w="20" h="20" filename="data/gfx/particles/sparcle_1.png" start_color="ffffff00" end_color="fff36fff" start_size="0.1" mid_size="0.5" end_size="0.1" >
          <particle_emitter 
          energy_min="0.5" 
          energy_max="1.7" 
          once="0" speed="15" 
          spread="360" 
          speed_min="0" 
          speed_max="25"
	
          radial_min="1" radial_max="3" tangential_min="1" tangential_max="3"
	
          position_left="20" 
          position_top="0"
          position_right="22"
          position_bottom="0"

          spin_min="10"
          spin_max="280"
          />
      </particle_system>
		</affine_animation>


    
    
    
    </container>	  
	
	

  

</container>