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 ImageView
backGround
ImageView
cloud
-
Constructor Summary
Constructors Constructor Description InitialPageController()
-
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)
void
setDimension(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:
setDimension
in interfaceController
- Parameters:
width
- widthheight
- height
-
changePage
public void changePage(Boolean state)
Change view- Specified by:
changePage
in interfaceController
- Parameters:
state
- if it's allowed to change view
-
reSet
public void reSet()
Reload the board for all players- Specified by:
reSet
in interfaceController
-
-