public void load(int type, int stage, boolean advanced) { this.type = type; this.stage = stage; this.advanced = advanced; this.minSteps = PuzzleInfo.minStep(type, stage, advanced); originalColorIndexes = new int[61]; targetColorIndexes = new int[61]; PuzzleInfo.readColorIndexes(type, stage, advanced, originalColorIndexes, targetColorIndexes); }