/// <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"); } }
/// <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"); } }