ixfx
    Preparing search index...

    Type Alias GridNeighbourSelectionLogic

    Logic to select the next cell based on a list of neighbours.

    These functions are pure functions and have no internal state.

    type GridNeighbourSelectionLogic = {
        getNeighbours?: GridIdentifyNeighbours;
        select: GridNeighbourSelector;
    }
    Index

    Properties

    getNeighbours?: GridIdentifyNeighbours

    Returns neighbours for a given cell in a grid

    Select a neighbour from given list