|
@@ -105,6 +105,7 @@ export class LevelAction extends Component {
|
|
|
const rule = instance.cocktailCupRule();
|
|
|
const [x, y] = rule;
|
|
|
const colorPool = levelColors.slice(0, y);
|
|
|
+ console.log(`colorPool:`,colorPool)
|
|
|
|
|
|
// 为所有杯子分配颜色,并控制颜色种类不超过y种
|
|
|
allCups.forEach(cup => {
|