Default interface implementation for IActionBlocker (defaults to true)

This commit is contained in:
zumorica
2020-03-30 01:15:03 +02:00
parent 91f039d2af
commit 16353a89e6

View File

@@ -5,23 +5,23 @@ namespace Content.Server.GameObjects.EntitySystems
{ {
public interface IActionBlocker public interface IActionBlocker
{ {
bool CanMove(); bool CanMove() => true;
bool CanInteract(); bool CanInteract() => true;
bool CanUse(); bool CanUse() => true;
bool CanThrow(); bool CanThrow() => true;
bool CanSpeak(); bool CanSpeak() => true;
bool CanDrop(); bool CanDrop() => true;
bool CanPickup(); bool CanPickup() => true;
bool CanEmote(); bool CanEmote() => true;
bool CanAttack(); bool CanAttack() => true;
} }
public class ActionBlockerSystem : EntitySystem public class ActionBlockerSystem : EntitySystem