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 void
allCellsClickable()
javafx.scene.control.ListView<java.lang.String>
getChoiceList()
javafx.scene.layout.GridPane
getMapGrid()
javafx.scene.layout.AnchorPane
getPlayersInfo()
javafx.scene.control.TextArea
getTextArea()
void
handleCellCLicked(int row, int col)
void
makeCellsClickable(java.util.List<Cell> availableCell)
void
onOptionChosen()
void
onQuit()
void
setGui(GUI gui)
void
showGameRules()
-
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()
-