21 lines
555 B
C#
21 lines
555 B
C#
using Content.Shared.Pulling;
|
|
using JetBrains.Annotations;
|
|
using Robust.Server.GameObjects;
|
|
|
|
namespace Content.Server.Pulling
|
|
{
|
|
[UsedImplicitly]
|
|
public class PullingSystem : SharedPullingSystem
|
|
{
|
|
public override void Initialize()
|
|
{
|
|
base.Initialize();
|
|
|
|
UpdatesAfter.Add(typeof(PhysicsSystem));
|
|
|
|
SubscribeLocalEvent<PullableComponent, PullableMoveMessage>(OnPullableMove);
|
|
SubscribeLocalEvent<PullableComponent, PullableStopMovingMessage>(OnPullableStopMove);
|
|
}
|
|
}
|
|
}
|