/// <summary> /// 完成拼图 /// </summary> public void replayOnClick() { deleteData(); if (CommonData.GameStatus == 1) { mUIMasterControl.openUIByTypeAndCloseOther(UIEnum.GameMainUI); GameUtil.CompletePuzzles(this); } else { DialogManager.createToastDialog().setToastText("不能进行此操作"); } }
/// <summary> /// 自动完成拼图 /// </summary> private void completePuzzles() { GameUtil.CompletePuzzles(this); }