Pulling state handling changes (#9952)

This commit is contained in:
Leon Friedrich
2022-07-29 14:13:43 +12:00
committed by GitHub
parent 7cf67e1323
commit ebe6093af1
4 changed files with 35 additions and 26 deletions

View File

@@ -13,14 +13,13 @@ namespace Content.Shared.Pulling.Components
{
/// <summary>
/// The current entity pulling this component.
/// SharedPullingStateManagementSystem should be writing this. This means definitely not you.
/// </summary>
public EntityUid? Puller { get; set; }
/// <summary>
/// The pull joint.
/// SharedPullingStateManagementSystem should be writing this. This means probably not you.
/// </summary>
public DistanceJoint? PullJoint { get; set; }
public string? PullJointId { get; set; }
public bool BeingPulled => Puller != null;