First draft of A* pathfinding implementation

This commit is contained in:
2022-01-16 18:33:43 +01:00
parent fc10cbfc3e
commit 180207f441
5 changed files with 114 additions and 53 deletions
-7
View File
@@ -32,11 +32,4 @@ void AAdventureCharacter::SetupPlayerInputComponent(UInputComponent* PlayerInput
{
Super::SetupPlayerInputComponent(PlayerInputComponent);
}
void AAdventureCharacter::AStarFindPath(AHexTile* Goal)
{
std::priority_queue<int32> Frontier;
TMap<AHexTile*, AHexTile*> CameFrom;
TMap<AHexTile*, int32> CostSoFar;
}