27 lines
505 B
C++
27 lines
505 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Weapon.h"
|
|
#include "ProjectileWeapon.generated.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class BLASTER_API AProjectileWeapon : public AWeapon
|
|
{
|
|
GENERATED_BODY()
|
|
virtual void Fire(const FVector& HitTarget) override;
|
|
|
|
private:
|
|
|
|
UPROPERTY(EditAnywhere)
|
|
TSubclassOf<class AProjectile> ProjectileClass;
|
|
|
|
UPROPERTY(EditAnywhere)
|
|
TSubclassOf<AProjectile> ServerSideRewindProjectileClass;
|
|
|
|
};
|