• Public
  • Public/Protected
  • All

Class CardDetails

Detailed information about a card. Changing the properties in this class does not affect the card.


  • CardDetails



Readonly flipped

flipped: boolean

Is the card flipped compared to the orientation of the stack? Single cards are never flipped.

Readonly index

index: number

Index of the card as defined in the editor. Index 0 corresponds to the upper left card in the card image.

Readonly name

name: string

Name of the card as defined in the editor. Not the same as the name of the object for single cards, which is accessible through GameObject.getName

Readonly templateId

templateId: string

Id of the card's template

Readonly textureOverrideURL

textureOverrideURL: string

URL for texture override. Used instead of regular front texture if not empty.