Add EffectBlockerExtensions
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using Robust.Shared.Interfaces.GameObjects;
|
||||
|
||||
namespace Content.Shared.GameObjects.EntitySystems.EffectBlocker
|
||||
{
|
||||
public static class EffectBlockerExtensions
|
||||
{
|
||||
public static bool CanFall(this IEntity entity)
|
||||
{
|
||||
return EffectBlockerSystem.CanFall(entity);
|
||||
}
|
||||
|
||||
public static bool CanSlip(this IEntity entity)
|
||||
{
|
||||
return EffectBlockerSystem.CanSlip(entity);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user