Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
Cards

Representation of individual cards and their state. More...

Collaboration diagram for Cards:

Topics

 Card Picture Loader
 The PictureLoader for CardInfoPictureWidgets and CardItems.
 Card Sets
 CardSets.
 Card Printings
 Information about specific printings of CardInfos via PrintingInfo and ExactCard.
 Card Widgets
 Widgets for CardInfo display and interaction.
 Card Database
 Core CardDatabase and loaders.

Files

file  card_info_comparator.h
 TODO: Document this.
file  game_specific_terms.h
 TODO: Document this.

Classes

class  CardInfo
 Represents a card and its associated metadata, properties, and relationships. More...
class  CardInfo::UiAttributes
 Attributes of the card that affect display and game logic. More...
class  CardRelation
 Represents a relationship between two cards. More...

Enumerations

enum class  CardRelationType { CardRelationType::DoesNotAttach = 0 , CardRelationType::AttachTo = 1 , CardRelationType::TransformInto = 2 }
 Types of attachments between cards. More...

Detailed Description

Representation of individual cards and their state.

Defines CardInfo and related objects which hold attributes, metadata, and runtime state within both the CardDatabase and the Game engine.

Enumeration Type Documentation

◆ CardRelationType

enum class CardRelationType
strong

Types of attachments between cards.

DoesNotAttach: No attachment is present. AttachTo: This card attaches to another card. TransformInto: This card transforms into another card.

Enumerator
DoesNotAttach 
AttachTo 
TransformInto