Definition at line 1 of file ActionTurnOnSpotlight.c.
◆ ActionTurnOnSpotlight()
void ActionTurnOnSpotlight::ActionTurnOnSpotlight |
( |
| ) |
|
|
inlineprivate |
◆ ActionCondition()
Definition at line 8 of file ActionTurnOnSpotlight.c.
9 {
12
14
15 if (
s &&
s.IsFolded())
16 return false;
17
20
21 if (selection == Spotlight.SEL_REFLECTOR_COMP_U &&
target_IB.HasEnergyManager() &&
target_IB.GetCompEM().CanSwitchOn())
22 return true;
23
24 return false;
25 }
◆ OnExecuteServer()
The documentation for this class was generated from the following file: