Package it.polimi.ingsw.view.cli.drawer
Class LorenzoDrawer
java.lang.Object
it.polimi.ingsw.view.cli.drawer.LorenzoDrawer
public class LorenzoDrawer extends java.lang.Object implements Buildable, Fillable
Class that builds and fills the Cli representation of Lorenzo il Magnifico
Builds and Fills the track and the last token played
-
Constructor Summary
Constructors Constructor Description LorenzoDrawer() -
Method Summary
Modifier and Type Method Description java.lang.String[][]build()Build a Cli representation of the Object in which is implementedvoidfill(java.lang.String[][] fillMe, SimpleGameState gameState)Fill the Cli representation of the Object passed as parameter with its current state Used to fill Objects related to the gamevoidfill(java.lang.String[][] fillMe, SimplePlayerState playerState)Fill the Cli representation of the Object passed as parameter with its current state Used to fill Objects related to the player boardMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LorenzoDrawer
public LorenzoDrawer()
-
-
Method Details
-
build
public java.lang.String[][] build()Description copied from interface:BuildableBuild a Cli representation of the Object in which is implemented -
fill
Description copied from interface:FillableFill the Cli representation of the Object passed as parameter with its current state Used to fill Objects related to the game -
fill
Description copied from interface:FillableFill the Cli representation of the Object passed as parameter with its current state Used to fill Objects related to the player board
-