Package it.polimi.ingsw.Client.CLI
Class CloudUI
java.lang.Object
it.polimi.ingsw.Client.CLI.CloudUI
CloudUI is a graphical representation (as a String data structure) useful to print multiple cloud components
on the console.
The internal information of the model element is described in
The internal information of the model element is described in
Cloud
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CloudUI
public CloudUI()
-
-
Method Details
-
draw
TheCloud
will be represented with a title and its related id, and the contained students if present. According to the number of players, it will create a different layout of the clouds on the console.- Parameters:
ctx
- is a reference to the model used to access the clouds' information.- Returns:
- the representation of the clouds group.
-