Package it.polimi.ingsw.view.cli.drawer
Class LeaderHandDrawer
java.lang.Object
it.polimi.ingsw.view.cli.drawer.LeaderHandDrawer
public class LeaderHandDrawer extends java.lang.Object implements Buildable, Fillable
Class that builds and fills the Cli representation of the LeaderCards that has not been activated,
the cards that the player has in is hand
-
Constructor Summary
Constructors Constructor Description LeaderHandDrawer() -
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
-
LeaderHandDrawer
public LeaderHandDrawer()
-
-
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
-