void Reset() { CardsCtrl.Reset(); BetCtrl.Reset(); BetCtrl.AllBet.SetChipBtnsState(true); CancelInvoke(); }
void Reset() { ResetGame(); CardsCtrl.Reset(); BetCtrl.Reset(); BetCtrl.AllBet.SetChipBtnsState(true); CancelInvoke(); CardsCtrl02.SetCardCtrlActive(false); }
public override void GameResponseStatus(int type, ISFSObject response) { var gdata = App.GetGameData <BrnnGameData>(); switch (type) { case RequestType.Bet: BetCtrl.Bet(response); ProgressCtrl.RefreshNum(response); ShowNumCtrl.RefreshNum(response); if (response.GetInt("seat") == gdata.SelfSeat) { if (gdata.GetPlayerInfo().CoinA < gdata.MiniApplyBanker) { ApplyCtrl.Instance.SetStutus(2); } } break; case RequestType.BeginBet: gdata.SetGameStatus(YxEGameStatus.Play); gdata.BeginBet = true; CardsCtrl.ReSetPonits(); CardsCtrl.ReSetGiveCardsStatus(); ShowNumCtrl.Reset(); ReSetGame(); BetCtrl.Reset(); ProgressCtrl.ReSetCountdown(16); ProgressCtrl.BeginCountdown(); ApplyCtrl.RefreshBanker(); break; default: base.GameResponseStatus(type, response); return; } OnGetPlayers(response); }
void Reset() { BetCtrl.Reset(); CancelInvoke(); }