Advertisement
Guest User

ATrap.h

a guest
Oct 21st, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.57 KB | None | 0 0
  1. // Fill out your copyright notice in the Description page of Project Settings.
  2.  
  3. #pragma once
  4.  
  5. #include "CoreMinimal.h"
  6. #include "GameFramework/Actor.h"
  7. #include "ATrap.generated.h"
  8.  
  9. UCLASS()
  10. class SPACEPROJECT_API AATrap : public AActor
  11. {
  12.     GENERATED_BODY()
  13.    
  14. public:
  15.     // Sets default values for this actor's properties
  16.     AATrap();
  17.  
  18. protected:
  19.     // Called when the game starts or when spawned
  20.     virtual void BeginPlay() override;
  21.  
  22. public:
  23.     // Called every frame
  24.     virtual void Tick(float DeltaTime) override;
  25.  
  26.     virtual bool ReactToTrigger() const override;
  27. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement