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.
32 lines
644 B
32 lines
644 B
2 years ago
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "CoreMinimal.h"
|
||
|
#include "Blueprint/UserWidget.h"
|
||
|
#include "GameOverWidget.generated.h"
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
UCLASS()
|
||
|
class TURNBASEDTUTORIAL_API UGameOverWidget : public UUserWidget {
|
||
|
GENERATED_BODY()
|
||
|
|
||
|
public:
|
||
2 years ago
|
virtual void NativeConstruct() override;
|
||
2 years ago
|
|
||
2 years ago
|
UFUNCTION(Client, Reliable)
|
||
|
void SetWidgetText(bool HasWon);
|
||
|
|
||
2 years ago
|
UFUNCTION(Client, Reliable)
|
||
2 years ago
|
void QuitCurrentSession();
|
||
|
|
||
2 years ago
|
protected:
|
||
|
UPROPERTY(meta = (BindWidget))
|
||
|
class UButton *ButtonToMenu;
|
||
|
|
||
|
UPROPERTY(meta = (BindWidget))
|
||
|
class UTextBlock *GameOverText;
|
||
|
};
|