blaster/Source/Blaster/Pickups/HealthPickup.h

31 lines
495 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Pickup.h"
#include "HealthPickup.generated.h"
/**
*
*/
UCLASS()
class BLASTER_API AHealthPickup : public APickup
{
GENERATED_BODY()
public:
AHealthPickup();
protected:
virtual void OnOverlap(ABlasterCharacter* BlasterCharacter) override;
private:
UPROPERTY(EditAnywhere)
float HealAmount = 100.f;
UPROPERTY(EditAnywhere)
float HealingTime = 2.f;
};