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

public class RollingObstacleTrigger : MonoBehaviour {

	private RollingCat rc;

	void Start () {
		GameObject rollingCat = GameObject.Find ("RollingCat");

		rc = rollingCat.GetComponent<RollingCat> ();
	}

	void OnTriggerEnter2D(Collider2D col){
		rc.goForPlayer = true;
	}

}
