/// <summary> /// 开始竞猜 /// </summary> public override void StartGame() { base.StartGame(); GambleTrickySizeItem cup = gambleBuilder.GetCup(); cup.SetCallBack(this); cup.SetStatus(GambleTrickySizeItem.CupStatusEnum.Choosing); }
/// <summary> /// 协程-开始改变杯子 /// </summary> public IEnumerator CoroutineForStartChangeSize() { GambleTrickySizeItem cup = gambleBuilder.GetCup(); cup.SetStatus(GambleTrickySizeItem.CupStatusEnum.Changing); yield return(new WaitForSeconds(2.6f)); StartGame(); }
/// <summary> /// 开始结算 /// </summary> public override void StartSettlement() { base.StartSettlement(); //展示结果 GambleTrickySizeItem cup = gambleBuilder.GetCup(); cup.SetStatus(GambleTrickySizeItem.CupStatusEnum.Result); StartCoroutine(CoroutineForSettlement()); }
public void InitCup() { gambleCup.SetStatus(GambleTrickySizeItem.CupStatusEnum.Idle); }