Space Plunder
Loading...
Searching...
No Matches
AlertWidgetComponent.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "Data/AIDataTypes.h"
8#include "AlertWidgetComponent.generated.h"
9
10UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent) )
11class AITOOLKIT_API UAlertWidgetComponent : public UScreenFacingWidgetComponent
12{
13 GENERATED_BODY()
14public:
15 UAlertWidgetComponent();
16
17 virtual void BeginPlay() override;
18
19 // UFUNCTION(BlueprintCallable, Category="AI|Alert")
20 // void StartAlert();
21
22 UFUNCTION(BlueprintCallable, Category="AI|Alert")
23 void UpdateAlertLevel(const float CurrentAlertLevel, const float MaxAlertLevel, const EAIStateType AIStateType);
24 UFUNCTION(BlueprintCallable, Category="AI|Alert")
25 void StateChanged(const EAIStateType AIStateType);
26
27private:
28 UPROPERTY()
29 class UAlertLevelWidget* AlertWidget = nullptr;
30
31};
EAIStateType
Definition AIDataTypes.h:121
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition AlertLevelWidget.h:14