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