예제 #1
0
 public static RuleStrategyBuilder AddPlus(this RuleStrategyBuilder builder)
 => builder.Add(new PlusDecorator());
예제 #2
0
 public static RuleStrategyBuilder AddElemental(this RuleStrategyBuilder builder)
 => builder.Add(new ElementalDecorator());
예제 #3
0
 public static RuleStrategyBuilder AddSame(this RuleStrategyBuilder builder, bool wall)
 => builder.Add(new SameDecorator(wall));