yasuki_core.engine.intents.MoveCard#

class MoveCard(card_id, to, position=None, to_bottom=False, index=None, face_down=False)[source]#

Move one card to a zone, deck, or the shared battlefield.

The universal mover behind hand↔battlefield↔zone↔deck transfers. position is set only when to is the battlefield, giving the card its table coordinates. to_bottom applies only to a deck destination: True slides the card under the deck instead of onto its top. index applies only to a hand destination: the slot the card lands in, clamped into range; None appends it. face_down applies only to a battlefield destination: True lays the card face down as it lands and privately peeks it back to the acting seat, so its owner still reads their own card (focusing in a duel) while the opponent sees only a back.

Methods

MoveCard.__init__(card_id, to[, position, ...])

Attributes

card_id

to

position

to_bottom

index

face_down

op