Skip to content

PlaneswalkerMDFCLayout

src.layouts.PlaneswalkerMDFCLayout

Bases: PlaneswalkerLayout

MDFC version of the Planeswalker card layout introduced in Kaldheim.

Source code in src\layouts.py
932
933
934
935
936
937
938
939
940
941
class PlaneswalkerMDFCLayout(PlaneswalkerLayout):
    """MDFC version of the Planeswalker card layout introduced in Kaldheim."""

    # Static properties
    is_mdfc: bool = True

    @auto_prop_cached
    def card_class(self) -> str:
        """Card class separated by card face."""
        return LayoutType.PlaneswalkerMDFCFront if self.is_front else LayoutType.PlaneswalkerMDFCBack

Functions

card_class() -> str

Card class separated by card face.

Source code in src\layouts.py
938
939
940
941
@auto_prop_cached
def card_class(self) -> str:
    """Card class separated by card face."""
    return LayoutType.PlaneswalkerMDFCFront if self.is_front else LayoutType.PlaneswalkerMDFCBack