8#include "CoreMinimal.h"
9#include "UObject/Object.h"
11#include "SensorManager.generated.h"
36 UFUNCTION(BlueprintCallable)
37 TArray<ASensor*> GetAllSensors();
44 UFUNCTION(BlueprintCallable)
45 TArray<ASensor*> GetAllSensorsOfType(
ESensorTypes SensorType);
50 UPROPERTY(BlueprintAssignable)
51 FSensorSpawnedDelegate OnSensorSpawned;
57 UPROPERTY(BlueprintAssignable)
58 FSensorDestroyedDelegate OnSensorDestroyed;
69 static
void AddSensor(
ASensor* SensorPtr);
71 static
void RemoveSensor(
ASensor* SensorPtr);
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FSensorSpawnedDelegate, ASensor *, SensorPtr)