Esempio n. 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");
            }
        }
Esempio n. 2
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");
               }
          
        }