This repository has been archived on 2025-04-18. You can view files and clone it, but cannot push or open issues or pull requests.

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;
};