@@ -19,6 +19,17 @@ namespace Content.Shared.GameObjects.Components.Movement
|
||||
/// </summary>
|
||||
float CurrentSprintSpeed { get; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// The movement speed (m/s) of the entity when it pushes off of a solid object in zero gravity.
|
||||
/// </summary>
|
||||
float CurrentPushSpeed { get; }
|
||||
|
||||
/// <summary>
|
||||
/// How far an entity can reach (in meters) to grab hold of a solid object in zero gravity.
|
||||
/// </summary>
|
||||
float GrabRange { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Is the entity Sprinting (running)?
|
||||
/// </summary>
|
||||
@@ -29,6 +40,10 @@ namespace Content.Shared.GameObjects.Components.Movement
|
||||
/// </summary>
|
||||
(Vector2 walking, Vector2 sprinting) VelocityDir { get; }
|
||||
|
||||
EntityCoordinates LastPosition { get; set; }
|
||||
|
||||
float StepSoundDistance { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Toggles one of the four cardinal directions. Each of the four directions are
|
||||
/// composed into a single direction vector, <see cref="SharedPlayerInputMoverComponent.VelocityDir"/>. Enabling
|
||||
@@ -40,5 +55,6 @@ namespace Content.Shared.GameObjects.Components.Movement
|
||||
void SetVelocityDirection(Direction direction, ushort subTick, bool enabled);
|
||||
|
||||
void SetSprinting(ushort subTick, bool walking);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user