Space Plunder
Loading...
Searching...
No Matches
PatrolInterface.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"
6#include "UObject/Interface.h"
7#include "PatrolInterface.generated.h"
8
9// This class does not need to be modified.
10UINTERFACE(MinimalAPI)
11class UPatrolInterface : public UInterface
12{
13 GENERATED_BODY()
14};
15
23class AITOOLKIT_API IPatrolInterface
24{
25 GENERATED_BODY()
26
27public:
28
29 virtual bool GetTimeToWait(float& WaitMin, float& WaitMax) const = 0;
30
31 virtual bool GetIsDeadEnd() const = 0;
32
33 virtual float GetRadius() const;
34
35 virtual AActor* GetNextPatrolPointActor(bool& bIsBridgeAvailable) const = 0;
36
37 virtual AActor* GetNextBridgePatrolPointActor() const = 0;
38
39 virtual AActor* GetPreviousPatrolPointActor(bool& bIsBridgeAvailable) const = 0;
40};
An interface class for patrol functionality.
Definition PatrolInterface.h:24
virtual AActor * GetNextBridgePatrolPointActor() const =0
virtual AActor * GetNextPatrolPointActor(bool &bIsBridgeAvailable) const =0
virtual AActor * GetPreviousPatrolPointActor(bool &bIsBridgeAvailable) const =0
virtual bool GetTimeToWait(float &WaitMin, float &WaitMax) const =0
virtual bool GetIsDeadEnd() const =0
Definition PatrolInterface.h:12