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.
37 lines
816 B
37 lines
816 B
2 years ago
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "CoreMinimal.h"
|
||
|
#include "EnemyAIController.h"
|
||
2 years ago
|
#include "../BattleGameState.h"
|
||
2 years ago
|
#include "SinglePlayerGS.generated.h"
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
UCLASS()
|
||
2 years ago
|
class TURNBASEDTUTORIAL_API ASinglePlayerGS : public ABattleGameState {
|
||
2 years ago
|
GENERATED_BODY()
|
||
2 years ago
|
|
||
2 years ago
|
public:
|
||
|
ASinglePlayerGS();
|
||
|
|
||
|
virtual void BeginPlay() override;
|
||
|
|
||
|
virtual void CycleTurns() override;
|
||
|
|
||
|
virtual void Tick(float DeltaSeconds) override;
|
||
|
|
||
2 years ago
|
AEnemyAIController *GetEnemyAIController() const;
|
||
|
|
||
|
const TArray<TSubclassOf<ATrooper>> &GetTroopersAssets() const;
|
||
|
|
||
2 years ago
|
protected:
|
||
|
UPROPERTY(Replicated)
|
||
|
AEnemyAIController *EnemyAiManager = nullptr;
|
||
2 years ago
|
|
||
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||
|
TArray<TSubclassOf<ATrooper>> TrooperBpAssets;
|
||
2 years ago
|
};
|