using UnityEngine;
using System.Collections;

public class FigureControl : MonoBehaviour {

	#region Private Variables
	private float _minSpeed = 0.3f;
	private float _maxSpeed = 0.8f;
	private Animator _anim;
	#endregion
	
	#region Events
	void Awake () {

		_anim = GetComponent <Animator> ();
		_anim.speed = Random.Range (_minSpeed, _maxSpeed);
		
	}
	#endregion


	#region Methods
	public void PutAway () {

		_anim.SetTrigger ("TurnOff");

	}
	#endregion

}
