29 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
32 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
35 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
38 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
41 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
42 void SetGreenTime(
float InGreenTime);
44 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
45 float GetGreenTime()
const;
47 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
48 void SetYellowTime(
float InYellowTime);
50 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
51 float GetYellowTime()
const;
53 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
54 void SetRedTime(
float InRedTime);
56 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
57 float GetRedTime()
const;
59 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
60 float GetElapsedTime()
const;
62 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
63 void SetTimeIsFrozen(
bool InTimeIsFrozen);
65 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
66 bool GetTimeIsFrozen()
const;
68 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
69 void SetPoleIndex(
int InPoleIndex);
71 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
72 int GetPoleIndex()
const;
74 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
75 TArray<ATrafficLightBase *> GetGroupTrafficLights()
const;
77 UFUNCTION(Category =
"Traffic Light", BlueprintCallable)
78 void SetGroupTrafficLights(TArray<ATrafficLightBase *> InGroupTrafficLights);
81 void SetElapsedTime(
float InElapsedTime);
83 UFUNCTION(Category =
"Traffic Light", BlueprintPure)
84 UTrafficLightComponent* GetTrafficLightComponent();
86 const UTrafficLightComponent* GetTrafficLightComponent()
const;
91 void AddTimeToRecorder();
95 UFUNCTION(Category =
"Traffic Light", BlueprintImplementableEvent)
100 UPROPERTY(Category = "Traffic Light", VisibleAnywhere)
103 UPROPERTY(Category = "Traffic Light", VisibleAnywhere)
106 UPROPERTY(Category = "Traffic Light", VisibleAnywhere)
109 UPROPERTY(Category = "Traffic Light", EditAnywhere)
110 UTrafficLightComponent * TrafficLightComponent =
nullptr;