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
    void fill​(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 game
    void fill​(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

      void fill​(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
      Parameters:
      fillMe - , the representation of the Object who needs to be filled
      playerState - , state of the player
    • fill

      void fill​(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 game
      Parameters:
      fillMe - , the representation of the Object who needs to be filled
      gameState - , state of the game