Files
tbd-station-14/Content.Shared/Physics/Pull/PullMessage.cs
DrSmugleaf b1fe4bad01 Add client pulling prediction (#2041)
* WIP changes

* Merge conflict fixes

* Bring pull controlelr to current year

* Sync and predict PullController on the client

* Clean imports

* Slow down pullers and make pulling tighter

* Stop pulls on pullable or puller component removals

* Make pulling not occur when moving towards the pulled entity
2020-10-16 20:35:09 +02:00

18 lines
444 B
C#

using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.Components;
namespace Content.Shared.Physics.Pull
{
public class PullMessage : ComponentMessage
{
public readonly IPhysicsComponent Puller;
public readonly IPhysicsComponent Pulled;
protected PullMessage(IPhysicsComponent puller, IPhysicsComponent pulled)
{
Puller = puller;
Pulled = pulled;
}
}
}