diff --git a/Content/MainMenu/MainMenuLevel.umap b/Content/MainMenu/MainMenuLevel.umap index c6ab3b1..2756307 100644 Binary files a/Content/MainMenu/MainMenuLevel.umap and b/Content/MainMenu/MainMenuLevel.umap differ diff --git a/Source/TurnBasedTutorial/BattleMode/BattleUI.cpp b/Source/TurnBasedTutorial/BattleMode/BattleUI.cpp index ef28c7b..b8ca44b 100644 --- a/Source/TurnBasedTutorial/BattleMode/BattleUI.cpp +++ b/Source/TurnBasedTutorial/BattleMode/BattleUI.cpp @@ -1,8 +1,8 @@ // Fill out your copyright notice in the Description page of Project Settings. +#include "BattleUI.h" #include "Components/Button.h" #include "Components/TextBlock.h" -#include "BattleUI.h" #include "BattlePlayerController.h" #include "BattlePlayerState.h" diff --git a/Source/TurnBasedTutorial/ManageSquad/SelectedTrooperSaveGame.cpp b/Source/TurnBasedTutorial/ManageSquad/SelectedTrooperSaveGame.cpp new file mode 100644 index 0000000..4324d33 --- /dev/null +++ b/Source/TurnBasedTutorial/ManageSquad/SelectedTrooperSaveGame.cpp @@ -0,0 +1,10 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "SelectedTrooperSaveGame.h" + +USelectedTrooperSaveGame::USelectedTrooperSaveGame(): Super() +{ + +} + diff --git a/Source/TurnBasedTutorial/ManageSquad/SelectedTrooperSaveGame.h b/Source/TurnBasedTutorial/ManageSquad/SelectedTrooperSaveGame.h new file mode 100644 index 0000000..aa7410e --- /dev/null +++ b/Source/TurnBasedTutorial/ManageSquad/SelectedTrooperSaveGame.h @@ -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 SelectedTroopers; + + USelectedTrooperSaveGame(); +};