All Known Implementing Classes:
Card, CountingObjective, GeometricObjective, GoldCardFrontSide, Objective, ObjectiveCard, PlayableBackSide, PlayableCard, PlayableFrontSide, PlayableSide, ResourceCardFrontSide, StarterCardFrontSide

public interface CliCard
  • Method Details

    • cardToString

      String cardToString()
    • cardToAscii

      default String cardToAscii()
      Converts the card to an ASCII representation
      Returns:
      The rendered ASCII string
    • cardToAscii

      String cardToAscii(HashMap<Integer,String> cardStringMap)
      Converts the card to an ASCII representation
      Parameters:
      cardStringMap - Maps the position of the item to the corresponding string to render inside the card
      Returns:
      The rendered ASCII string
    • playableCardToAscii

      static String playableCardToAscii(HashMap<Integer,String> cardStringMap)
      See Also: