Created
          February 8, 2019 20:49 
        
      - 
      
- 
        Save ClassyCircuit/33b48619880b313eeca49cf59aae24e0 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // 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; | |
| }; | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment