using UnityEngine;

public class TestIndicator : MonoBehaviour
{
	// ********************************************************************************
	// Constants

	// ********************************************************************************
	// Members

	// ********************************************************************************
	// Properties
	public Probe Probe;

	public SpriteRenderer UpProximityIndicator;
	public SpriteRenderer DownProximityIndicator;
	public SpriteRenderer LeftProximityIndicator;
	public SpriteRenderer RightProximityIndicator;

	// ********************************************************************************
	// Unity messages
	void Start()
    {
        
    }

    void Update()
    {
		UpProximityIndicator.enabled = (Probe.ProximityUp > 0);
		DownProximityIndicator.enabled = (Probe.ProximityDown > 0);
		LeftProximityIndicator.enabled = (Probe.ProximityLeft > 0);
		RightProximityIndicator.enabled = (Probe.ProximityRight > 0);
	}
}
