Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Rank

The main base class for representing a rank of card (eg. "ace" or "king")

Hierarchy

  • Rank

Index

Constructors

Properties

Methods

Constructors

  • new Rank(abbrn: string, name: string): Rank

Properties

abbrn: string
name: string

Methods

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

    eg. "<Rank name=Ace abbrn=A>"

    Returns string

Generated using TypeDoc