22 lines
608 B
C#
22 lines
608 B
C#
using Content.Shared.Pulling;
|
|
using Content.Shared.Pulling.Components;
|
|
using JetBrains.Annotations;
|
|
using Robust.Client.Physics;
|
|
|
|
namespace Content.Client.Pulling
|
|
{
|
|
[UsedImplicitly]
|
|
public sealed class PullingSystem : SharedPullingSystem
|
|
{
|
|
public override void Initialize()
|
|
{
|
|
base.Initialize();
|
|
|
|
UpdatesAfter.Add(typeof(PhysicsSystem));
|
|
|
|
SubscribeLocalEvent<SharedPullableComponent, PullableMoveMessage>(OnPullableMove);
|
|
SubscribeLocalEvent<SharedPullableComponent, PullableStopMovingMessage>(OnPullableStopMove);
|
|
}
|
|
}
|
|
}
|