Class InitialPageController

    • Constructor Detail

      • InitialPageController

        public InitialPageController()
    • Method Detail

      • setController

        public static void setController​(MainController controller)
      • setDimension

        public void setDimension​(double width,
                                 double height)
        Set width
        Specified by:
        setDimension in interface Controller
        Parameters:
        width - width
        height - height
      • changePage

        public void changePage​(Boolean state)
        Change view
        Specified by:
        changePage in interface Controller
        Parameters:
        state - if it's allowed to change view
      • reSet

        public void reSet()
        Reload the board for all players
        Specified by:
        reSet in interface Controller