using UnityEngine;
using System.Collections;

public class Doorbell : MonoBehaviour {
	
	private States states;
	public AudioClip click;
	
	// Use this for initialization
	void Start () {
		states = GameObject.Find ("Player").GetComponent<States>();
	}
	
	void Use ()
	{
		AudioSource.PlayClipAtPoint(click, transform.position);
		states.selling = true;
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
