- All Known Implementing Classes:
Card
,CountingObjective
,GeometricObjective
,GoldCardFrontSide
,Objective
,ObjectiveCard
,PlayableBackSide
,PlayableCard
,PlayableFrontSide
,PlayableSide
,ResourceCardFrontSide
,StarterCardFrontSide
public interface CliCard
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
Converts the card to an ASCII representationcardToAscii
(HashMap<Integer, String> cardStringMap) Converts the card to an ASCII representationstatic String
playableCardToAscii
(HashMap<Integer, String> cardStringMap)
-
Method Details
-
cardToString
String cardToString() -
cardToAscii
Converts the card to an ASCII representation- Returns:
- The rendered ASCII string
-
cardToAscii
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
- See Also:
-