2022-05-22 23:06:42 +00:00
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
#include "Pickup.h"
|
|
|
|
#include "SpeedPickup.generated.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
UCLASS()
|
|
|
|
class BLASTER_API ASpeedPickup : public APickup
|
|
|
|
{
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
|
|
|
protected:
|
2022-05-23 21:45:28 +00:00
|
|
|
virtual void OnOverlap(ABlasterCharacter* BlasterCharacter) override;
|
2022-05-22 23:06:42 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere)
|
|
|
|
float BaseSpeedBuff = 1600.f;
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere)
|
|
|
|
float CrouchSpeedBuff = 850.f;
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere)
|
|
|
|
float SpeedBuffTime = 30.f;
|
|
|
|
|
|
|
|
};
|