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

    インターフェイス CardOperations

    1枚の札が持つ操作一式(ObjectCardStackの操作の部分)。

    どの個体が動くのかは、動かす側と見せる側で必ず一致する——movedIdsが同じcarriedOfを通るのは そのため(画面の移動アニメーションと、ワールドが実際に動かすものを食い違わせない)。

    interface CardOperations {
        actions: readonly CardAction[];
        dropInto: (
            place: Slot,
            at?: SlotPosition,
            count?: number,
        ) => CardDropEffect | undefined;
        movedIds: (count: number) => readonly number[];
        reorderActionAt: (at: SlotPosition) => (() => void) | undefined;
    }
    インデックス
    actions: readonly CardAction[]
    dropInto: (
        place: Slot,
        at?: SlotPosition,
        count?: number,
    ) => CardDropEffect | undefined
    movedIds: (count: number) => readonly number[]
    reorderActionAt: (at: SlotPosition) => (() => void) | undefined