Section 13 complete, Damage numbers, added Block chance and Critical Hit chance
This commit is contained in:
20
Source/Aura/Public/UI/Widget/DamageTextComponent.h
Normal file
20
Source/Aura/Public/UI/Widget/DamageTextComponent.h
Normal file
@@ -0,0 +1,20 @@
|
||||
// Copyright Echo Devgroup
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "Components/WidgetComponent.h"
|
||||
#include "DamageTextComponent.generated.h"
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
UCLASS()
|
||||
class AURA_API UDamageTextComponent : public UWidgetComponent
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
UFUNCTION(BlueprintImplementableEvent, BlueprintCallable)
|
||||
void SetDamageText(float Damage,bool bCritical, bool bBlocked);
|
||||
};
|
||||
Reference in New Issue
Block a user