UnmappedIsland ソースリファレンス - v0.1.0
    検索インデックスを準備しています...

    インターフェイス ShownDrop

    ドラッグしたカードを落とした先(CardDragControllerのCardDropの、レーンを場所に直した形)。

    interface ShownDrop {
        count: number;
        from: CardSpot;
        fromIndex: number;
        target: SlotPosition | { index: number; kind: "combine" } | undefined;
        to: CardSpot;
    }
    インデックス
    count: number

    この操作で動かす枚数(1以上)。束をまとめて運んでいるときだけ2以上になる。

    from: CardSpot
    fromIndex: number
    target: SlotPosition | { index: number; kind: "combine" } | undefined

    カードへ重ねた(combine)か、隙間・空き枠へ落とした(CardPlacement)か。undefinedは、その場所へ 落としたが位置は指さない——レーン上の位置がスロットの位置にならない場所(slotCells.slotPositionAt) で、どの枠へ入るかはスロットが選ぶ。