blaster/Source/Blaster/Weapon/Projectile.h

26 lines
458 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Projectile.generated.h"
UCLASS()
class BLASTER_API AProjectile : public AActor
{
GENERATED_BODY()
public:
AProjectile();
virtual void Tick(float DeltaTime) override;
protected:
virtual void BeginPlay() override;
public:
UPROPERTY(EditAnywhere)
class UBoxComponent* CollisionBox;
};