コード例 #1
0
        /// <summary>
        ///     Responsible to call all initiation methods.
        /// </summary>
        private void initiateAll()
        {
            try{
                initiateButtonsArray();
                initiateSetOfImages();

                gameRules = new GameRules(buttonsArray, gameImgButtons, SIZE);

                // Assign score and cards number.
                assignTextViews();

                // Table creation.
                initializeTableLayout();
            }catch (Exception) {
                showMessage("Error in creating the layout");
            }
        }
コード例 #2
0
ファイル: Game.cs プロジェクト: iDesireJustice/Leonardo
        /// <summary>
        ///     Responsible to call all initiation methods.
        /// </summary>
        private void initiateAll(){
            try{
                initiateButtonsArray();
                initiateSetOfImages();

                gameRules = new GameRules(buttonsArray, gameImgButtons, SIZE);
                
                // Assign score and cards number.
                assignTextViews();

                // Table creation.
                initializeTableLayout();

               }catch (Exception){
                   showMessage("Error in creating the layout");
               }
          
        }