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.
32 lines
631 B
32 lines
631 B
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "GameFramework/PlayerController.h"
|
|
#include "ManageSquadTrooper.h"
|
|
#include "ManageSquadPlayerController.generated.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class TURNBASEDTUTORIAL_API AManageSquadPlayerController
|
|
: public APlayerController {
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
AManageSquadPlayerController();
|
|
|
|
virtual void SetupInputComponent() override;
|
|
|
|
virtual void BeginPlay() override;
|
|
|
|
private:
|
|
UPROPERTY()
|
|
AManageSquadTrooper *SelectedTrooper;
|
|
|
|
UFUNCTION()
|
|
void OnLeftMouseClick();
|
|
};
|