Add EffectBlockerExtensions

This commit is contained in:
DrSmugleaf
2020-12-20 04:31:04 +01:00
parent fcd52fa90c
commit a3fdcd3a68
11 changed files with 72 additions and 38 deletions

View File

@@ -0,0 +1,14 @@
using Content.Shared.GameObjects.EntitySystems.ActionBlocker;
namespace Content.Shared.GameObjects.EntitySystems.EffectBlocker
{
/// <summary>
/// This interface gives components the ability to block certain effects
/// from affecting the owning entity. For actions see <see cref="IActionBlocker"/>
/// </summary>
public interface IEffectBlocker
{
bool CanFall() => true;
bool CanSlip() => true;
}
}