using UnityEngine;
using System.Collections;

public class BarraCoolDown : MonoBehaviour {
	private float cooldown;
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	public void alteraBarra(float tamanho){
		print ("altera o cooldown");
	//	cooldown = cooldown + tamanho;
		this.transform.localScale = new Vector3(this.transform.localScale.x,tamanho,this.transform.localScale.z);
	}
}
