Package it.polimi.ingsw.view.GUI
Class InitialPageController
- java.lang.Object
-
- it.polimi.ingsw.view.GUI.InitialPageController
-
- All Implemented Interfaces:
Controller
public class InitialPageController extends Object implements Controller
-
-
Field Summary
Fields Modifier and Type Field Description ImageViewbackGroundImageViewcloud
-
Constructor Summary
Constructors Constructor Description InitialPageController()
-
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)voidsetDimension(double width, double height)Set width
-
-
-
Method Detail
-
setController
public static void setController(MainController controller)
-
setDimension
public void setDimension(double width, double height)Set width- Specified by:
setDimensionin interfaceController- Parameters:
width- widthheight- height
-
changePage
public void changePage(Boolean state)
Change view- Specified by:
changePagein interfaceController- Parameters:
state- if it's allowed to change view
-
reSet
public void reSet()
Reload the board for all players- Specified by:
reSetin interfaceController
-
-