Base functionality for MapObject placement
This commit is contained in:
@@ -49,8 +49,6 @@ public:
|
||||
int32 MoveCost = 1;
|
||||
UPROPERTY(BlueprintReadWrite, VisibleInstanceOnly, Category = "Movement")
|
||||
AHexTile* CameFrom;
|
||||
UPROPERTY(VisibleInstanceOnly, Category = "Movement")
|
||||
int32 CostSoFar = 0;
|
||||
UPROPERTY()
|
||||
int32 FCost;
|
||||
UPROPERTY()
|
||||
@@ -58,6 +56,10 @@ public:
|
||||
UPROPERTY()
|
||||
int32 HCost;
|
||||
|
||||
// MapObject Placement
|
||||
UPROPERTY(BlueprintReadWrite, VisibleAnywhere)
|
||||
bool bFree = true;
|
||||
|
||||
FORCEINLINE bool operator == (const AHexTile &Other)
|
||||
{
|
||||
if (this->Q == Other.Q && this->R == Other.R) { return true; }
|
||||
|
||||
Reference in New Issue
Block a user