java.lang.Object
it.polimi.ingsw.view.gui.viewController.GameScreenController
public class GameScreenController
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description GameScreenController() -
Method Summary
Modifier and Type Method Description voidallCellsClickable()javafx.scene.control.ListView<java.lang.String>getChoiceList()javafx.scene.layout.GridPanegetMapGrid()javafx.scene.layout.AnchorPanegetPlayersInfo()javafx.scene.control.TextAreagetTextArea()voidhandleCellCLicked(int row, int col)voidmakeCellsClickable(java.util.List<Cell> availableCell)voidonOptionChosen()voidonQuit()voidsetGui(GUI gui)voidshowGameRules()
-
Constructor Details
-
GameScreenController
public GameScreenController()
-
-
Method Details
-
setGui
-
onOptionChosen
public void onOptionChosen() -
handleCellCLicked
public void handleCellCLicked(int row, int col) -
makeCellsClickable
-
allCellsClickable
public void allCellsClickable() -
getPlayersInfo
public javafx.scene.layout.AnchorPane getPlayersInfo() -
getTextArea
public javafx.scene.control.TextArea getTextArea() -
getMapGrid
public javafx.scene.layout.GridPane getMapGrid() -
getChoiceList
public javafx.scene.control.ListView<java.lang.String> getChoiceList() -
onQuit
public void onQuit() -
showGameRules
public void showGameRules()
-