// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Actor.h" #include "FPSObjectiveActor.generated.h" class USphereComponent; class UStaticMeshComponent; UCLASS() class FPSGAME_API AFPSObjectiveActor : public AActor { GENERATED_BODY() public: // Sets default values for this actor's properties AFPSObjectiveActor(); protected: // Called when the game starts or when spawned virtual void BeginPlay() override; // visual representation of the object UPROPERTY(VisibleAnywhere, Category="Components") UStaticMeshComponent* MeshComp; // used for collision UPROPERTY(VisibleAnywhere, Category = "Components") USphereComponent* SphereComp; public: // Called every frame virtual void Tick(float DeltaTime) override; };