package test2017a3_策略_桥接;
/**
* <h3>Design Patterns</h3>
*
* @author : Code Slacker
* @description :
* @date : 2023-11-01 09:56
**/
public class StrategyC extends Strategy{
public StrategyC(Supplier supplier) {
super(supplier);
}
@Override
public void play() {
System.out.println("满200元减50元");
supplier.taxRate();
}
}