public static MapSingleton Instance()
        {
            if (_instance == null)
            {
                _instance = new MapSingleton();
            }

            return(_instance);
        }
 public IEnumerable <uint> GetPath(uint from, uint to)
 {
     return(MapSingleton.Instance().GetPath(from, to));
 }
 public int GetDistance(uint from, uint to)
 {
     return(MapSingleton.Instance().GetDistance(from, to));
 }