diff --git a/libcockatrice_card/libcockatrice/card/relation/card_relation_type.h b/libcockatrice_card/libcockatrice/card/relation/card_relation_type.h index c1ea49fa3..9bd85f3ac 100644 --- a/libcockatrice_card/libcockatrice/card/relation/card_relation_type.h +++ b/libcockatrice_card/libcockatrice/card/relation/card_relation_type.h @@ -4,7 +4,13 @@ #include /** - * Represents how a card relates to another (attach, transform, etc.). + * @enum CardRelationType + * @ingroup Cards + * @brief Types of attachments between cards. + * + * DoesNotAttach: No attachment is present. + * AttachTo: This card attaches to another card. + * TransformInto: This card transforms into another card. */ enum class CardRelationType { @@ -13,7 +19,7 @@ enum class CardRelationType TransformInto = 2, }; -// Optional helper +// Helper function to transform the enum values into human-readable strings inline QString cardAttachTypeToString(CardRelationType type) { switch (type) {