Home Reference Source Repository
import Card from 'deckster/src/models/card.js'
public class | source

Card

Represents a card which has a suit and a rank.

Member Summary

Public Members
public get

Gets the ID of the card.

public get

Gets whether the card is shown on the table of its owner round.

public get

Gets the rank type of the card.

public get

Gets the suit type of the card.

Public Members

public get id: number source

Gets the ID of the card.

public get isOnTable: boolean source

Gets whether the card is shown on the table of its owner round.

public get rank: number source

Gets the rank type of the card.

public get suit: number source

Gets the suit type of the card.