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

public class CueBehaviour : MonoBehaviour
{	
	protected float forceMagnitude = 1000f;
	protected float restPosition = -5f;
	protected float extrudedPosition = -2f;
	protected float pushSpeed = 30f;
	protected float returnSpeed = -20f;
	protected float pushDistance = 3f;

	protected bool alreadyPushed;

	protected Rigidbody2D rigidBody;
	protected Rigidbody2D birdRigidBody;

	public CueStates currentState = CueStates.rest;

	public enum CueStates
	{
		rest,
		pushing,
		returning,
		extruded
	}

	public void Push()
	{
		if(currentState == CueStates.extruded) return;
		else currentState = CueStates.pushing;
	}
}