24 lines
710 B
C#
24 lines
710 B
C#
using Content.Shared.GameObjects.Components.Movement;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.GameObjects.Components;
|
|
using Robust.Shared.Map;
|
|
using Robust.Shared.Physics;
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
#nullable enable
|
|
|
|
namespace Content.Server.GameObjects.Components.Movement
|
|
{
|
|
/// <summary>
|
|
/// Moves the entity based on input from a KeyBindingInputComponent.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
[ComponentReference(typeof(IMoverComponent))]
|
|
public class PlayerInputMoverComponent : SharedPlayerInputMoverComponent
|
|
{
|
|
public override GridCoordinates LastPosition { get; set; }
|
|
|
|
public override float StepSoundDistance { get; set; }
|
|
}
|
|
}
|