Interface CardIF

All Superinterfaces:
Serializable
All Known Subinterfaces:
CardObjectiveIF, CardPlayableIF, CardStarterIF
All Known Implementing Classes:
Card, CardGold, CardObjective, CardPlayable, CardResource, CardStarter

public interface CardIF extends Serializable
Read-only interface of a card
  • Method Details

    • getId

      String getId()
      Returns:
      Id of the card
    • getVisibleSide

      Side getVisibleSide()
      Returns:
      The visible side of the card. If the card is not in field, returns null.