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

public class HudAnimAssistent : MonoBehaviour {

	private Animator myAnimator;

	// Use this for initialization
	void Start () {
		myAnimator = GetComponent<Animator> ();
	}

	public void StartAnim(){
		myAnimator.SetBool ("selected", true);
		AudioController.PlayHudSound (HudSoundEffects.TAP);
	}

	public void StopAnim(){
		myAnimator.SetBool ("selected", false);
	}
}
