blaster/Source/Blaster/Weapon/ProjectileWeapon.h

27 lines
505 B
C
Raw Permalink Normal View History

2022-05-04 17:17:25 +00:00
// 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()
2022-05-05 10:51:14 +00:00
virtual void Fire(const FVector& HitTarget) override;
2022-05-04 17:17:25 +00:00
2022-05-05 10:51:14 +00:00
private:
UPROPERTY(EditAnywhere)
TSubclassOf<class AProjectile> ProjectileClass;
2022-05-04 17:17:25 +00:00
2022-05-27 21:33:52 +00:00
UPROPERTY(EditAnywhere)
TSubclassOf<AProjectile> ServerSideRewindProjectileClass;
2022-05-04 17:17:25 +00:00
};