Skip to content

Commit

Permalink
I seem to have forgotten to push this before holidays??
Browse files Browse the repository at this point in the history
  • Loading branch information
TiredAJ committed Jan 1, 2024
1 parent f29425b commit 40a3a99
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 9 deletions.
2 changes: 1 addition & 1 deletion NavGraph/NavGraph.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 0 additions & 2 deletions NavGraph/Src/NavGraph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ internal int AvailableUID
IncludeFields = true,
WriteIndented = true,
PropertyNameCaseInsensitive = true,
PreferredObjectCreationHandling = JsonObjectCreationHandling.Replace,

};
#endregion

Expand Down
12 changes: 6 additions & 6 deletions NavGraph/Src/Navigator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace NavGraphTools
{
public class Navigator
/*public class Navigator
{
#region Variables
private NavNode? Origin { get; set; }
Expand Down Expand Up @@ -44,10 +44,10 @@ public List<int> Nearest<T>(ref NavGraph _NG) where T : ISpecialNodes
{
List<int> Path = new List<int>();
if (typeof(T) == typeof(ElevationNode) && CurrentLocation.ElvNodeDirection != null)
{ return ElvFlowFollower(ref _NG); }
else if (typeof(T) == typeof(GatewayNode) && CurrentLocation.GatewayNodeDirection != null)
{ return GateFlowFollower(ref _NG); }
//if (typeof(T) == typeof(ElevationNode) && CurrentLocation.ElvNodeDirection != null)
//{ return ElvFlowFollower(ref _NG); }
//else if (typeof(T) == typeof(GatewayNode) && CurrentLocation.GatewayNodeDirection != null)
//{ return GateFlowFollower(ref _NG); }
return new List<int>();
}
Expand Down Expand Up @@ -86,5 +86,5 @@ public void Navigate(ref NavGraph _NG)
{
}
}
}*/
}
13 changes: 13 additions & 0 deletions WinForms/.idea/.idea.WinForms/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions WinForms/.idea/.idea.WinForms/.idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions WinForms/.idea/.idea.WinForms/.idea/indexLayout.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions WinForms/.idea/.idea.WinForms/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 40a3a99

Please sign in to comment.