Class GUIController
java.lang.Object
it.polimi.ingsw.view.gui.controllers.GUIController
- Direct Known Subclasses:
ConnectionController,EndGameController,FatalErrorController,GameboardController,LoginController,NumberOfPlayersController,PlayerboardController
public abstract class GUIController
extends java.lang.Object
A generic fxml file controller
-
Field Summary
-
Constructor Summary
Constructors Constructor Description GUIController() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
client
-
-
Constructor Details
-
GUIController
public GUIController()
-
-
Method Details
-
setClient
Set the client of this controller. The client will be set only once.- Parameters:
client- the client to set- Returns:
- the client of this controller, can be the player just set or another if it was already set.
-