Module: Card

Classes

Card

Members

content :string

Text content of Card.
Type:
  • string
Source:

hash :string

Internal UUID Hash of Card.
Type:
  • string
Source:

qualities :QualitySet

QualitySet of qualities.
Type:
  • QualitySet
Source:

Methods

(inner) addQuality(s)

Add a quality to the Card.
Parameters:
Name Type Description
s object The quality to add.
Source:

(inner) isAvailable(s) → {boolean}

Check if card is available.
Parameters:
Name Type Description
s State State to check against.
Source:
Returns:
If card is available.
Type
boolean

(inner) removeQuality(s)

Remove a quality from the Card.
Parameters:
Name Type Description
s object The quality to remove.
Source: