unreal/AdventurePlayerController.h

42 lines
780 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/PlayerController.h"
#include "AdventurePlayerController.generated.h"
class AAdventureMap;
class AHexTile;
class AAdventureCameraPawn;
class AAdventureCharacter;
/**
*
*/
UCLASS()
class FRAY_API AAdventurePlayerController : public APlayerController
{
GENERATED_BODY()
public:
AAdventurePlayerController();
UPROPERTY()
UWorld* World;
UPROPERTY()
AAdventureMap* MapRef;
UPROPERTY()
AHexTile* SpawnHex;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Runtime")
AHexTile* CurrentHex;
protected:
virtual void BeginPlay() override;
virtual void SetupInputComponent() override;
public:
void AdvClick();
};