blaster/Source/Blaster/Components/BuffComponent.h

31 lines
652 B
C
Raw Normal View History

2022-05-22 21:17:42 +00:00
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "BuffComponent.generated.h"
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class BLASTER_API UBuffComponent : public UActorComponent
{
GENERATED_BODY()
public:
UBuffComponent();
friend class ABlasterCharacter;
protected:
virtual void BeginPlay() override;
private:
UPROPERTY()
class ABlasterCharacter* Character;
public:
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
};