LEAP Documentation 40220
Documentation for the LEAP project
ObjectiveWidget.h
Go to the documentation of this file.
1// Copyright Blue Isle Studios Inc 2022. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "Blueprint/UserWidget.h"
8#include "ObjectiveWidget.generated.h"
9
11
12
13UCLASS()
14class PROJECTX_API UObjectiveWidget : public UUserWidget, public IReactsToObjectiveInterface
15{
16 GENERATED_BODY()
17
18public:
19 UFUNCTION(BlueprintCallable)
20 virtual AProjectXSpawnerObjective* const GetObjectiveOwner() const { return ObjectiveOwner; }
21 UFUNCTION()
22 virtual void IntializeObjectiveOwnedObject(AProjectXSpawnerObjective* ObjectiveController) override;
23protected:
24 AProjectXSpawnerObjective* ObjectiveOwner = NULL;
25};
Definition: ProjectXSpawnerObjective.h:53
Definition: ReactsToObjectiveInterface.h:18
Definition: ObjectiveWidget.h:15