Class AbstractJoker

java.lang.Object
javatro.core.jokers.Joker
javatro.core.jokers.addmult.AbstractJoker

public class AbstractJoker extends Joker
Represents a AbstractJoker Joker, based off the Abstract Joker of Balatro.
  • Constructor Details

    • AbstractJoker

      public AbstractJoker()
  • Method Details

    • interact

      public void interact(Score scoreClass, Card playedCard)
      Description copied from class: Joker
      Abstract method of Joker for scoring purposes. The playedCard parameter should be null if not required. Overridden by Joker subclasses.
      Specified by:
      interact in class Joker
      Parameters:
      scoreClass - Score Class containing relevant information such as totalChips, totalMultiplier.
      playedCard - Card Class containing the card played and to be interacted with (if at all).
    • toString

      public String toString()
      Overrides:
      toString in class Object