Class EmergencyLightSystem
Inheritance
System.Object
EmergencyLightSystem
Assembly: Content.Server.dll
Syntax
public sealed class EmergencyLightSystem : SharedEmergencyLightSystem
Methods
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
|
Improve this Doc
View Source
SetState(EntityUid, EmergencyLightComponent, EmergencyLightState)
Declaration
public void SetState(EntityUid uid, EmergencyLightComponent component, EmergencyLightState state)
Parameters
|
Improve this Doc
View Source
Update(Single)
Declaration
public override void Update(float frameTime)
Parameters
Type |
Name |
Description |
System.Single |
frameTime |
|
|
Improve this Doc
View Source
UpdateState(EntityUid, EmergencyLightComponent)
Updates the light's power drain, battery drain, sprite and actual light state.
Declaration
public void UpdateState(EntityUid uid, EmergencyLightComponent component)
Parameters