Class ThrusterSystem
Inheritance
System.Object
ThrusterSystem
Assembly: Content.Server.dll
Syntax
public sealed class ThrusterSystem : EntitySystem
Fields
|
Improve this Doc
View Source
BurnFixture
Declaration
public const string BurnFixture = null
Field Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
CanEnable(EntityUid, ThrusterComponent)
Declaration
public bool CanEnable(EntityUid uid, ThrusterComponent component)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DisableLinearThrustDirection(ShuttleComponent, DirectionFlag)
Disables a thrust direction.
Declaration
public void DisableLinearThrustDirection(ShuttleComponent component, DirectionFlag direction)
Parameters
|
Improve this Doc
View Source
DisableLinearThrusters(ShuttleComponent)
Declaration
public void DisableLinearThrusters(ShuttleComponent component)
Parameters
|
Improve this Doc
View Source
DisableThruster(EntityUid, ThrusterComponent, Nullable<EntityUid>, Nullable<TransformComponent>, Nullable<Angle>)
Tries to disable the thruster.
Declaration
public void DisableThruster(EntityUid uid, ThrusterComponent component, EntityUid? gridId, TransformComponent? xform = null, Angle? angle = null)
Parameters
Type |
Name |
Description |
EntityUid |
uid |
|
ThrusterComponent |
component |
|
System.Nullable<EntityUid> |
gridId |
|
System.Nullable<TransformComponent> |
xform |
|
System.Nullable<Angle> |
angle |
|
|
Improve this Doc
View Source
DisableThruster(EntityUid, ThrusterComponent, Nullable<TransformComponent>, Nullable<Angle>)
Declaration
public void DisableThruster(EntityUid uid, ThrusterComponent component, TransformComponent? xform = null, Angle? angle = null)
Parameters
Type |
Name |
Description |
EntityUid |
uid |
|
ThrusterComponent |
component |
|
System.Nullable<TransformComponent> |
xform |
|
System.Nullable<Angle> |
angle |
|
|
Improve this Doc
View Source
EnableLinearThrustDirection(ShuttleComponent, DirectionFlag)
Considers a thrust direction as being active.
Declaration
public void EnableLinearThrustDirection(ShuttleComponent component, DirectionFlag direction)
Parameters
|
Improve this Doc
View Source
EnableThruster(EntityUid, ThrusterComponent, Nullable<TransformComponent>)
Tries to enable the thruster and turn it on. If it's already enabled it does nothing.
Declaration
public void EnableThruster(EntityUid uid, ThrusterComponent component, TransformComponent? xform = null)
Parameters
Type |
Name |
Description |
EntityUid |
uid |
|
ThrusterComponent |
component |
|
System.Nullable<TransformComponent> |
xform |
|
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
|
Improve this Doc
View Source
SetAngularThrust(ShuttleComponent, Boolean)
Declaration
public void SetAngularThrust(ShuttleComponent component, bool on)
Parameters
|
Improve this Doc
View Source
Update(Single)
Declaration
public override void Update(float frameTime)
Parameters
Type |
Name |
Description |
System.Single |
frameTime |
|