Package it.polimi.ingsw.Client.CLI
Class InfoUI
java.lang.Object
it.polimi.ingsw.Client.CLI.InfoUI
InfoUI is a graphical informative component (as a String data structure)
useful to print details about the
TurnOrder
and the StudentBag
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
InfoUI
public InfoUI()
-
-
Method Details
-
draw
It will provide the players with a summary about the turn order, it will show the current and next players in line and highlight if you are one of them.
It also shows the number of remaining coins if the game is in advanced mode.- Parameters:
ctx
- reference to the model used to accessModel.getMutableTurnOrder()
caller
- the player to whom the information will be displayed. It is used to highlight if you are the current or next player- Returns:
- a visual description of useful information for the players: turns and coins
-
showActions
-