Class InputMoverComponent
Inheritance
System.Object
InputMoverComponent
Assembly: Content.Shared.dll
Syntax
public sealed class InputMoverComponent : Component
Fields
|
Improve this Doc
View Source
CurTickSprintMovement
Declaration
public Vector2 CurTickSprintMovement
Field Value
|
Improve this Doc
View Source
CurTickWalkMovement
Declaration
public Vector2 CurTickWalkMovement
Field Value
|
Improve this Doc
View Source
HeldMoveButtons
Declaration
public MoveButtons HeldMoveButtons
Field Value
|
Improve this Doc
View Source
LastInputSubTick
Declaration
public ushort LastInputSubTick
Field Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
LastInputTick
Declaration
public GameTick LastInputTick
Field Value
Type |
Description |
Robust.Shared.Timing.GameTick |
|
|
Improve this Doc
View Source
LerpTarget
If we traverse on / off a grid then set a timer to update our relative inputs.
Declaration
public TimeSpan LerpTarget
Field Value
Type |
Description |
TimeSpan |
|
|
Improve this Doc
View Source
LerpTime
Declaration
public const float LerpTime = null
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
RelativeEntity
Entity our movement is relative to.
Declaration
public EntityUid? RelativeEntity
Field Value
Type |
Description |
System.Nullable<EntityUid> |
|
|
Improve this Doc
View Source
RelativeRotation
Declaration
public Angle RelativeRotation
Field Value
|
Improve this Doc
View Source
TargetRelativeRotation
Although our movement might be relative to a particular entity we may have an additional relative rotation
e.g. if we've snapped to a different cardinal direction
Declaration
public Angle TargetRelativeRotation
Field Value
|
Improve this Doc
View Source
ToParent
Should our velocity be applied to our parent?
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Properties
|
Improve this Doc
View Source
CanMove
Declaration
public bool CanMove { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Sprinting
Declaration
public bool Sprinting { get; }
Property Value
Type |
Description |
System.Boolean |
|