Selected troopers savegame class implemented

pull/8/head
eyakm1 2 years ago
parent 422b1439e5
commit 26b49e2e9d

@ -1,8 +1,8 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "BattleUI.h"
#include "Components/Button.h" #include "Components/Button.h"
#include "Components/TextBlock.h" #include "Components/TextBlock.h"
#include "BattleUI.h"
#include "BattlePlayerController.h" #include "BattlePlayerController.h"
#include "BattlePlayerState.h" #include "BattlePlayerState.h"

@ -0,0 +1,10 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "SelectedTrooperSaveGame.h"
USelectedTrooperSaveGame::USelectedTrooperSaveGame(): Super()
{
}

@ -0,0 +1,22 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/SaveGame.h"
#include "SelectedTrooperSaveGame.generated.h"
/**
*
*/
UCLASS()
class TURNBASEDTUTORIAL_API USelectedTrooperSaveGame : public USaveGame
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere, Category=Basic)
TArray<uint8> SelectedTroopers;
USelectedTrooperSaveGame();
};
Loading…
Cancel
Save