You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
awesome_game/Source/TurnBasedTutorial/Trooper.h

32 lines
548 B

#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();
};