23 lines
522 B
C++
23 lines
522 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "LMWeaponBase.h"
|
|
#include "LMShotgun.generated.h"
|
|
|
|
UCLASS()
|
|
class LEGUMEMIX_API ALMShotgun : public ALMWeaponBase
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
ALMShotgun();
|
|
virtual void PrimaryFire() override;
|
|
|
|
private:
|
|
/** The number of pellets fired by the shotgun. */
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Legumix|Weapon", meta = (AllowPrivateAccess = true))
|
|
int PelletCount = 8;
|
|
};
|