blaster/Source/Blaster/Weapon/Shotgun.h

26 lines
433 B
C
Raw Normal View History

2022-05-20 10:10:21 +00:00
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "HitScanWeapon.h"
#include "Shotgun.generated.h"
/**
*
*/
UCLASS()
class BLASTER_API AShotgun : public AHitScanWeapon
{
GENERATED_BODY()
public:
virtual void Fire(const FVector& HitTarget) override;
private:
UPROPERTY(EditAnywhere, Category = "Weapon Scatter")
uint32 NumberOfPellets = 10;
};