Package it.polimi.ingsw.view.cli.drawer
Interface Fillable
- All Known Implementing Classes:
ActivatedLeaderDrawer,CardSlotsDrawer,ChestDrawer,DeckDrawer,LeaderHandDrawer,LorenzoDrawer,MarketDrawer,TrackDrawer,WarehouseDrawer
public interface Fillable
Interface that allows an Object to fill its Cli representation
-
Method Summary
Modifier and Type Method Description voidfill(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 board
-
Method Details
-
fill
Fill the Cli representation of the Object passed as parameter with its current state Used to fill Objects related to the player board- Parameters:
fillMe- , the representation of the Object who needs to be filledplayerState- , state of the player
-
fill
Fill the Cli representation of the Object passed as parameter with its current state Used to fill Objects related to the game- Parameters:
fillMe- , the representation of the Object who needs to be filledgameState- , state of the game
-