plan to implement pathfinding; minor fixes & refactorings
This commit is contained in:
@@ -28,7 +28,7 @@ public:
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
FVector Corner(int32 i);
|
||||
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Runtime")
|
||||
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "debug")
|
||||
TArray<FVector> Corners;
|
||||
UFUNCTION()
|
||||
void FillCornersArray();
|
||||
@@ -40,6 +40,9 @@ public:
|
||||
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Runtime")
|
||||
int32 Index;
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
TArray<AHexTile*> Neighbors(AHexTile* OfHexTile);
|
||||
|
||||
protected:
|
||||
// Called when the game starts or when spawned
|
||||
virtual void BeginPlay() override;
|
||||
|
||||
Reference in New Issue
Block a user