16 PrimaryActorTick.bCanEverTick =
true;
17 SceneComponent = CreateDefaultSubobject<USceneComponent>(TEXT(
"RootComponent"));
35 Controller->ResetState();
46 Super::Tick(DeltaTime);
52 auto* Replayer = Episode->GetReplayer();
55 if(Replayer->IsEnabled())
virtual void Tick(float DeltaTime) override
void SetFrozenGroup(bool InFreeze)
TArray< UTrafficLightController * > Controllers
void AddController(UTrafficLightController *Controller)
USceneComponent * SceneComponent
int GetJunctionId() const
static UCarlaEpisode * GetCurrentEpisode(const UObject *WorldContextObject)
Maps a controller from OpenDrive.
void SetGroup(ATrafficLightGroup *Group)
bool AdvanceTimeAndCycleFinished(float DeltaTime)