Package it.polimi.ingsw.view.cli.drawer
Class DeckDrawer
java.lang.Object
it.polimi.ingsw.view.cli.drawer.DeckDrawer
public class DeckDrawer extends java.lang.Object implements Fillable, Buildable
Class that builds and fills the Cli representation of the Develop Card Deck
-
Constructor Summary
Constructors Constructor Description DeckDrawer() -
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
-
DeckDrawer
public DeckDrawer()
-
-
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
-