using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class RadialProgressBarScript : MonoBehaviour {

	public Image fillImg;
	//public float timeAmt = 10;
	//public float speed = 1;
	//public bool flagPluged = true;
	//public float time = 0;

	//AparelhosScript aparelhoParent;

	// Use this for initialization
	void Start () {
		fillImg = this.GetComponent<Image> ();
	}
	
	// Update is called once per frame
	void Update () {
		/*
		Debug.Log ("flagPressed: "+flagPressed);
		if (time < timeAmt && flagPressed && flagPluged) {
			time += speed * Time.deltaTime;
			Debug.Log (time);
			fillImg.fillAmount = time / timeAmt;
		} else if (time >= timeAmt) {
			flagPluged = false;
		}
		*/
	}
}
