blaster/Source/Blaster/Pickups/HealthPickup.h

31 lines
495 B
C
Raw Normal View History

2022-05-22 21:48:23 +00:00
// 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:
2022-05-23 21:45:28 +00:00
virtual void OnOverlap(ABlasterCharacter* BlasterCharacter) override;
2022-05-22 21:48:23 +00:00
private:
UPROPERTY(EditAnywhere)
float HealAmount = 100.f;
UPROPERTY(EditAnywhere)
2022-05-23 10:35:20 +00:00
float HealingTime = 2.f;
2022-05-22 21:48:23 +00:00
};