// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/SpectatorPawn.h" #include "BattlePawn.generated.h" UCLASS() class TURNBASEDTUTORIAL_API ABattlePawn : public ASpectatorPawn { GENERATED_BODY() public: // Sets default values for this pawn's properties ABattlePawn(); protected: // Called when the game starts or when spawned virtual void BeginPlay() override; virtual void MoveForward(float Val) override; public: // Called to bind functionality to input virtual void SetupPlayerInputComponent( class UInputComponent *PlayerInputComponent) override; };