20 assert(light_manager &&
"No light_manager");
21 return light_manager->GetColor(
_id);
26 assert(light_manager &&
"No light_manager");
27 return light_manager->GetIntensity(
_id);
32 assert(light_manager &&
"No light_manager");
33 return light_manager->GetLightGroup(
_id);
38 assert(light_manager &&
"No light_manager");
39 return light_manager->GetLightState(
_id);
44 assert(light_manager &&
"No light_manager");
45 return light_manager->IsActive(
_id) ==
true;
50 assert(light_manager &&
"No light_manager");
51 return light_manager->IsActive(
_id) ==
false;
56 assert(light_manager &&
"No light_manager");
57 light_manager->SetColor(
_id, color);
62 assert(light_manager &&
"No light_manager");
63 light_manager->SetIntensity(
_id, intensity);
68 assert(light_manager &&
"No light_manager");
69 light_manager->SetLightGroup(
_id, group);
74 assert(light_manager &&
"No light_manager");
75 light_manager->SetLightState(
_id, state);
80 assert(light_manager &&
"No light_manager");
81 light_manager->SetActive(
_id,
true);
86 assert(light_manager &&
"No light_manager");
87 light_manager->SetActive(
_id,
false);
void SetLightState(const LightState &state)
LightGroup GetLightGroup() const
LightState GetLightState() const
float GetIntensity() const
void SetColor(Color color)
void SetIntensity(float intensity)
WeakPtr< LightManager > _light_manager
void SetLightGroup(LightGroup group)
This file contains definitions of common data structures used in traffic manager.