made health componenet

This commit is contained in:
2025-11-23 20:11:46 -05:00
parent 45c8db144b
commit d2e1db997d
2 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "DDIHealth.generated.h"
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class OPENCONFLICT_API UDDIHealth : public UActorComponent
{
GENERATED_BODY()
public:
// Sets default values for this component's properties
UDDIHealth();
protected:
// Called when the game starts
virtual void BeginPlay() override;
public:
// Called every frame
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
};