unreal/AdventurePlayerController.h

42 lines
780 B
C
Raw Normal View History

2022-01-11 11:07:17 +01:00
// 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;
2022-01-11 11:07:17 +01:00
public:
void AdvClick();
2022-01-11 11:07:17 +01:00
};