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

    インターフェイス MapWindowOptions

    interface MapWindowOptions {
        lands: readonly MapLandView[];
        onClose: () => void;
        onPlace: (site: number, at: MapPlacement) => void;
        positions: ReadonlyMap<number, MapPlacement>;
        roads: readonly MapRoadView[];
    }
    インデックス
    lands: readonly MapLandView[]

    既知の土地と発見済みの道(PlayScreenView.mapLands/mapRoads)。

    onClose: () => void
    onPlace: (site: number, at: MapPlacement) => void

    カードを置いた(ドラッグを離した)ときに呼ぶ。

    positions: ReadonlyMap<number, MapPlacement>

    サイトindex→ユーザが置いた位置。無い土地は下端の待機列に並ぶ。

    roads: readonly MapRoadView[]