using OnlineMaps.Webservices;
using UnityEngine;

namespace HutongGames.PlayMaker.Actions
{
    public class FindDirectionResponseWrapper : Object
    {
        public GoogleRoutingResult result;

        public int count
        {
            get { return result != null ? result.routes.Length : 0; }
        }

        public FindDirectionResponseWrapper(GoogleRoutingResult result)
        {
            this.result = result;
        }
    }
}