Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Card

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

_deck: Deck
rank: Rank
suit: Suit

Accessors

  • get deck(): Deck
  • set deck(deck: Deck): void
  • get unicode(): string
  • The unicode character that represents this particular card if one exists

    Returns string

Methods

  • toString(): string
  • Returns a human-readable string representation of the card object

    eg. "<Card suit=spades rank=Ace>"

    Returns string

Generated using TypeDoc