Files
Tactica/Source/Tactica/Public/UnitStats.h
T

17 lines
420 B
C

#pragma once
#include "CoreMinimal.h"
#include "Engine/DataTable.h"
#include "UnitStats.generated.h"
// ユニットのステータス。将来はDataTableの行として読み込めるようFTableRowBaseを継承する
USTRUCT(BlueprintType)
struct FUnitStats : public FTableRowBase
{
GENERATED_BODY()
// 移動力(マス数)
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unit")
int32 MoveRange = 4;
};