blaster/Source/Blaster/Pickups/AmmoPickup.h

29 lines
500 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Pickup.h"
#include "Blaster/Weapon/WeaponTypes.h"
#include "AmmoPickup.generated.h"
/**
*
*/
UCLASS()
class BLASTER_API AAmmoPickup : public APickup
{
GENERATED_BODY()
protected:
virtual void OnOverlap(ABlasterCharacter* BlasterCharacter) override;
private:
UPROPERTY(EditAnywhere)
int32 AmmoAmount = 30;
UPROPERTY(EditAnywhere)
EWeaponType WeaponType;
};