Neighbors function draft; refactoring
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
class USceneComponent;
|
||||
class UStaticMeshComponent;
|
||||
|
||||
class AAdventureMap;
|
||||
class AAdventurePlayerController;
|
||||
|
||||
UCLASS()
|
||||
@@ -40,9 +40,8 @@ public:
|
||||
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Runtime")
|
||||
int32 Index;
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
TArray<AHexTile*> Neighbors(AHexTile* OfHexTile);
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, Category = "Runtime")
|
||||
AAdventureMap* MapRef;
|
||||
protected:
|
||||
// Called when the game starts or when spawned
|
||||
virtual void BeginPlay() override;
|
||||
|
||||
Reference in New Issue
Block a user