Package it.polimi.ingsw.view.GUI
Class ChooseGod
- java.lang.Object
-
- it.polimi.ingsw.view.GUI.ChooseGod
-
- All Implemented Interfaces:
Controller
public class ChooseGod extends Object implements Controller
-
-
Constructor Summary
Constructors Constructor Description ChooseGod()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchangePage(Boolean state)Change viewvoidreSet()Reload the board for all playersstatic voidsetController(MainController controller)Set controller for the fxml filevoidsetDimension(double width, double height)Set Height and Width
-
-
-
Method Detail
-
setController
public static void setController(MainController controller)
Set controller for the fxml file- Parameters:
controller- controller
-
reSet
public void reSet()
Reload the board for all players- Specified by:
reSetin interfaceController
-
setDimension
public void setDimension(double width, double height)Description copied from interface:ControllerSet Height and Width- Specified by:
setDimensionin interfaceController- Parameters:
width- widthheight- height
-
changePage
public void changePage(Boolean state)
Change view- Specified by:
changePagein interfaceController- Parameters:
state- open o close
-
-