This commit is contained in:
in0finite 2021-09-07 00:47:54 +02:00
parent 6f866fa750
commit b62e786dad
2 changed files with 2 additions and 7 deletions

View file

@ -430,7 +430,7 @@ namespace SanAndreasUnity.Behaviours
private static void StepLoadPaths()
{
Importing.Paths.NodeReader.StepLoadPaths();
Importing.Paths.NodeReader.Load();
}

View file

@ -71,7 +71,7 @@ namespace SanAndreasUnity.Importing.Paths
{
public static List<NodeFile> Nodes { get; set; }
public static float[][] Borders { get; private set; }
public static void StepLoadPaths()
public static void Load()
{
int row;
int col;
@ -302,10 +302,5 @@ namespace SanAndreasUnity.Importing.Paths
}
return -1;
}
public static int GetAreaFromPosition(UnityEngine.Vector2 position)
{
return GetAreaFromPosition(new UnityEngine.Vector3(position.x, 0.0f, position.y));
}
}
}