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