Class ExpendableLightSystem
Inheritance
System.Object
ExpendableLightSystem
Namespace: Content.Server.Light.EntitySystems
Assembly: Content.Server.dll
Syntax
public sealed class ExpendableLightSystem : EntitySystem
Methods
| Improve this Doc View SourceInitialize()
Declaration
public override void Initialize()
TryActivate(ExpendableLightComponent)
Enables the light if it is not active. Once active it cannot be turned off.
Declaration
public bool TryActivate(ExpendableLightComponent component)
Parameters
Type | Name | Description |
---|---|---|
ExpendableLightComponent | component |
Returns
Type | Description |
---|---|
System.Boolean |
Update(Single)
Declaration
public override void Update(float frameTime)
Parameters
Type | Name | Description |
---|---|---|
System.Single | frameTime |