yasuki_core.game_pieces.cards.L5RCard#

class L5RCard(id: str, name: str, side: yasuki_core.game_pieces.constants.Side, printed_id: str | None = None, clan: str | None = None, clans: tuple[str, ...]=(), keywords: tuple[str, ...]=(), traits: tuple[str, ...]=(), card_type: str | None = None, creates: tuple[str, ...]=(), text: str = '', is_unique: bool = False, bowed: bool = False, face_up: bool = True, inverted: bool = False, counters: dict[str, int]=<factory>, image_front: pathlib._local.Path | None = None, image_back: pathlib._local.Path | None = None, owner: yasuki_core.engine.players.PlayerId | None = None, shown: bool = False, peekers: frozenset[yasuki_core.engine.players.PlayerId] = frozenset(), back_card_id: str | None = None, back: 'L5RCard | None' = None, showing_back: bool = False, is_token: bool = False, art_swap: dict | None = None, note: str | None = None)[source]#

Methods

Attributes

id

name

side

printed_id

clan

clans

keywords

traits

card_type

creates

text

is_unique

bowed

face_up

inverted

counters

image_front

image_back

owner

shown

peekers

back_card_id

back

showing_back

is_token

art_swap

note

active_face

The face currently presented: the back card when flipped to it, otherwise this card.