Files
crystall-punk-14/Content.Server/GameObjects/Components/Movement/PlayerInputMoverComponent.cs

24 lines
710 B
C#
Raw Normal View History

2020-06-24 02:21:20 +02:00
using Content.Shared.GameObjects.Components.Movement;
using Robust.Shared.GameObjects;
2020-02-07 23:15:06 +00:00
using Robust.Shared.GameObjects.Components;
using Robust.Shared.Map;
2020-02-07 23:15:06 +00:00
using Robust.Shared.Physics;
using Robust.Shared.ViewVariables;
2020-06-24 02:21:20 +02:00
#nullable enable
2019-04-04 16:18:43 +02:00
namespace Content.Server.GameObjects.Components.Movement
{
/// <summary>
/// Moves the entity based on input from a KeyBindingInputComponent.
/// </summary>
2019-07-31 15:02:36 +02:00
[RegisterComponent]
[ComponentReference(typeof(IMoverComponent))]
public class PlayerInputMoverComponent : SharedPlayerInputMoverComponent
2019-04-04 16:18:43 +02:00
{
2020-06-24 02:21:20 +02:00
public override GridCoordinates LastPosition { get; set; }
2019-04-04 16:18:43 +02:00
2020-06-24 02:21:20 +02:00
public override float StepSoundDistance { get; set; }
2019-04-04 16:18:43 +02:00
}
}