First draft of A* pathfinding implementation
This commit is contained in:
@@ -20,14 +20,10 @@ public:
|
||||
// Sets default values for this character's properties
|
||||
AAdventureCharacter();
|
||||
|
||||
UPROPERTY(VisibleInstanceOnly, BlueprintReadWrite, Category = "Runtime")
|
||||
AHexTile* GridLocation;
|
||||
UPROPERTY(VisibleInstanceOnly, BlueprintReadWrite, Category = "Runtime")
|
||||
AHexTile* SelectedHex;
|
||||
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Runtime")
|
||||
TArray<AHexTile*> MovementPath;
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void AStarFindPath(AHexTile* Goal);
|
||||
AHexTile* GridLocation;
|
||||
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Runtime")
|
||||
AHexTile* SelectedHex;
|
||||
|
||||
protected:
|
||||
// Called when the game starts or when spawned
|
||||
|
||||
Reference in New Issue
Block a user