using UnityEngine;
using System.Collections;

public class FlapViewController : MonoBehaviour {
	// temporary

	public GameObject Flap1;
	public GameObject Flap2;
	public GameObject Flap3;

//	private GameObject[] flapIcons = new GameObject[3];

	// Use this for initialization
	void Start () {
/*		flapIcons [0] = Flap1;
		flapIcons [1] = Flap2;
		flapIcons [2] = Flap3;*/
	}
	
	// Update is called once per frame
	void Update () {
		int flaps = BirdController.instance.Flaps;
		Flap1.SetActive (flaps > 0);
		Flap2.SetActive (flaps > 1);
		Flap3.SetActive (flaps > 2);
		
	}
}
