Пример #1
0
 private bool IsEnabled(RhymeFlags flags) => (AllowedRhymes & flags) == flags;
Пример #2
0
 public Rhymer()
 {
     AllowedRhymes = RhymeFlags.Perfect;
 }
Пример #3
0
 private bool IsEnabled(RhymeFlags flags) => (AllowedRhymes & flags) == flags;
Пример #4
0
 private static void Rhyme(Sandbox sb,
                           [RantDescription("The rhyme types to use.")]
                           RhymeFlags flags)
 {
     sb.QueryState.Rhymer.AllowedRhymes = flags;
 }
Пример #5
0
 public Rhymer()
 {
     AllowedRhymes = RhymeFlags.Perfect;
 }