Change access level for IncrementHealth

This commit is contained in:
baz 2025-02-05 23:04:28 +00:00
parent 09e71d2a71
commit 2d11a5c5bc

View File

@ -28,6 +28,7 @@ struct FDamageInfo
};
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnDamageDelegate, FDamageInfo, damageInfo);
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnDeathDelegate, FDamageInfo, damageInfo);
UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent))
@ -59,9 +60,6 @@ public:
AController* instigatedBy,
AActor* damageCauser);
UFUNCTION()
void IncrementHealth(float value);
UFUNCTION()
float GetMaxHealth();
@ -95,4 +93,7 @@ public:
protected:
// Called when the game starts
virtual void BeginPlay() override;
UFUNCTION()
void IncrementHealth(float value);
};