#pragma once #include "CoreMinimal.h" #include "GameFramework/Actor.h" #include "Components/StaticMeshComponent.h" #include "Trooper.generated.h" UCLASS() class TURNBASEDTUTORIAL_API ATrooper : public AActor { GENERATED_BODY() public: // Sets default values for this actor's properties ATrooper(); protected: // Called when the game starts or when spawned virtual void BeginPlay() override; UPROPERTY() FVector Position; UPROPERTY(VisibleAnywhere, BlueprintReadOnly) UStaticMeshComponent* Mesh; public: void MoveTrooper(); };