Class ThrusterSystem
Handles making a thruster visibly turn on/emit an exhaust plume according to its state.
Inheritance
System.Object
Robust.Shared.GameObjects.EntitySystem
Robust.Client.GameObjects.VisualizerSystem<ThrusterComponent>
ThrusterSystem
Implements
Robust.Shared.GameObjects.IEntitySystem
Robust.Shared.GameObjects.IEntityEventSubscriber
Robust.Shared.IoC.IPostInjectInit
Namespace: Content.Client.Shuttles
Assembly: Content.Client.dll
Syntax
public sealed class ThrusterSystem : VisualizerSystem<ThrusterComponent>, IEntitySystem, IEntityEventSubscriber, IPostInjectInit
Methods
| Improve this Doc View SourceOnAppearanceChange(EntityUid, ThrusterComponent, ref AppearanceChangeEvent)
Updates whether or not the thruster is visibly active/thrusting.
Declaration
protected override void OnAppearanceChange(EntityUid uid, ThrusterComponent comp, ref AppearanceChangeEvent args)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
ThrusterComponent | comp | |
Robust.Client.GameObjects.AppearanceChangeEvent | args |
Implements
Robust.Shared.GameObjects.IEntitySystem
Robust.Shared.GameObjects.IEntityEventSubscriber
Robust.Shared.IoC.IPostInjectInit