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