using UnityEngine;
using System.Collections;

public class Door : MonoBehaviour {

	[SerializeField] protected Animation doorAnim;
	public bool isClosed;

	public void PlayAnim()
	{
		doorAnim.Play ();
		isClosed = !isClosed;
	}
}
