Deprecate IActionBlocker ChangeDirectionAttempt (#4851)

* Deprecate IActionBlocker ChangeDirectionAttempt

* Woops
This commit is contained in:
metalgearsloth
2021-10-13 13:14:30 +11:00
committed by GitHub
parent 31208c2636
commit 7fe7c46373
10 changed files with 22 additions and 44 deletions

View File

@@ -1,5 +1,4 @@
using System;
using Content.Shared.ActionBlocker;
using Content.Shared.DragDrop;
using Content.Shared.EffectBlocker;
using Content.Shared.Interaction;
@@ -12,7 +11,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Shared.Buckle.Components
{
[NetworkedComponent()]
public abstract class SharedBuckleComponent : Component, IActionBlocker, IEffectBlocker, IDraggable
public abstract class SharedBuckleComponent : Component, IEffectBlocker, IDraggable
{
public sealed override string Name => "Buckle";
@@ -36,11 +35,6 @@ namespace Content.Shared.Buckle.Components
public abstract bool TryBuckle(IEntity? user, IEntity to);
bool IActionBlocker.CanChangeDirection()
{
return !Buckled;
}
bool IEffectBlocker.CanFall() => !Buckled;
bool IDraggable.CanDrop(CanDropEvent args)