Files
crystall-punk-14/Content.Shared/GameObjects/EntitySystems/ActionBlocker/IActionBlocker.cs

41 lines
894 B
C#
Raw Normal View History

#nullable enable
using Content.Shared.GameObjects.EntitySystems.EffectBlocker;
2020-12-20 04:31:04 +01:00
namespace Content.Shared.GameObjects.EntitySystems.ActionBlocker
2020-12-20 04:26:21 +01:00
{
/// <summary>
/// This interface gives components the ability to block certain actions from
/// being done by the owning entity. For effects see <see cref="IEffectBlocker"/>
/// </summary>
public interface IActionBlocker
{
bool CanMove() => true;
bool CanInteract() => true;
bool CanUse() => true;
bool CanThrow() => true;
bool CanSpeak() => true;
bool CanDrop() => true;
bool CanPickup() => true;
bool CanEmote() => true;
bool CanAttack() => true;
bool CanEquip() => true;
bool CanUnequip() => true;
bool CanChangeDirection() => true;
bool CanShiver() => true;
bool CanSweat() => true;
}
2020-12-20 04:31:04 +01:00
}