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 void
changePage(Boolean state)
Change viewvoid
reSet()
Reload the board for all playersstatic void
setController(MainController controller)
Set controller for the fxml filevoid
setDimension(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:
reSet
in interfaceController
-
setDimension
public void setDimension(double width, double height)
Description copied from interface:Controller
Set Height and Width- Specified by:
setDimension
in interfaceController
- Parameters:
width
- widthheight
- height
-
changePage
public void changePage(Boolean state)
Change view- Specified by:
changePage
in interfaceController
- Parameters:
state
- open o close
-
-