using UnityEngine;
using System.Collections;

public class InputMinigame : MonoBehaviour {

	// public Printer p;
	private float unlockTime;
	public bool done; 

	// Use this for initialization
	void Start () {
		// p = GetComponent<Printer>(); 
	}
	
	// Update is called once per frame
	void Update () {
		if( (done) && (Input.GetButtonDown("Fire1")) && (Time.time > unlockTime) ){
			Application.LoadLevel(0);
			// Debug.Log("3 - input handled" + null);
			// p.TurnPage(); 
			// unlockTime = Time.time + 0.25f; 
		} 
	
	}

}
