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.
26 lines
543 B
26 lines
543 B
// Copyright Zelle Games
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "PlayMontageCallbackProxy.h"
|
|
#include "BehaviorTree/Tasks/BTTask_BlackboardBase.h"
|
|
#include "BTTask_Attack.generated.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class STREETPUNKZ_API UBTTask_Attack : public UBTTask_BlackboardBase
|
|
{
|
|
GENERATED_BODY()
|
|
virtual EBTNodeResult::Type ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) override;
|
|
|
|
protected:
|
|
UPROPERTY()
|
|
UBehaviorTreeComponent* OwnerComponent;
|
|
|
|
UPROPERTY()
|
|
UPlayMontageCallbackProxy* MontageCallbackProxy;
|
|
};
|