public override bool IsCurrentlyPassable(MajorModelEntities model, SeenRoom room) { var regex = KeyExitData.GetBarrierExitRegex(model, this, BarrierState.Open); if (room.Exits.Any(x => regex.IsMatch(x))) { return(true); } return(false); }
public override bool RemoveMatch(Player player, List <string> exits) { return(KeyExitData.RemoveMatch(player, exits, this)); }