Class MoverController
Inheritance
System.Object
Robust.Shared.GameObjects.EntitySystem
Robust.Shared.Physics.Controllers.VirtualController
MoverController
Implements
Robust.Shared.GameObjects.IEntitySystem
Robust.Shared.GameObjects.IEntityEventSubscriber
Robust.Shared.IoC.IPostInjectInit
Namespace: Content.Server.Physics.Controllers
Assembly: Content.Server.dll
Syntax
public sealed class MoverController : SharedMoverController, IEntitySystem, IEntityEventSubscriber, IPostInjectInit
Methods
| Improve this Doc View SourceCanSound()
Declaration
protected override bool CanSound()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceGetPilotVelocityInput(PilotComponent)
Declaration
public (Vector2 Strafe, float Rotation, float Brakes) GetPilotVelocityInput(PilotComponent component)
Parameters
Type | Name | Description |
---|---|---|
PilotComponent | component |
Returns
Type | Description |
---|---|
System.ValueTuple<Vector2, System.Single, System.Single> |
HandleShuttleInput(EntityUid, ShuttleButtons, UInt16, Boolean)
Declaration
protected override void HandleShuttleInput(EntityUid uid, ShuttleButtons button, ushort subTick, bool state)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
ShuttleButtons | button | |
System.UInt16 | subTick | |
System.Boolean | state |
Initialize()
Declaration
public override void Initialize()
Overrides
| Improve this Doc View SourceUpdateBeforeSolve(Boolean, Single)
Declaration
public override void UpdateBeforeSolve(bool prediction, float frameTime)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | prediction | |
System.Single | frameTime |
Overrides
Robust.Shared.Physics.Controllers.VirtualController.UpdateBeforeSolve(System.Boolean, System.Single)
Implements
Robust.Shared.GameObjects.IEntitySystem
Robust.Shared.GameObjects.IEntityEventSubscriber
Robust.Shared.IoC.IPostInjectInit