Exemplo n.º 1
0
        private void OnSelectPositive()
        {
            mKeyController.ClearKeyAll();
            mKeyController.firstUpdate = true;
            FurnitureModel selectedFurniture = mContext.SelectedFurniture;

            if (mFurnitureStoreManager.IsValidExchange(selectedFurniture) && mFurnitureStoreManager.Exchange(selectedFurniture))
            {
                TrophyUtil.Unlock_At_BuyFurniture();
                SoundUtils.PlaySE(SEFIleInfos.SE_004);
                storeFrame.updateUserInfo(mFurnitureStoreManager);
                storeDialog.Hide();
                storeDialog.SetKeyController(null);
                mUIFurnitureStoreTabList.Refresh();
                mStateManager.PopState();
                mStateManager.ResumeState();
            }
        }