nape-js API
    Preparing search index...

    Type Alias TilemapSolidPredicate

    TilemapSolidPredicate: (value: number, x: number, y: number) => boolean

    Predicate deciding whether a tile value at (x, y) represents a solid (collidable) cell.

    Type Declaration

      • (value: number, x: number, y: number): boolean
      • Parameters

        • value: number
        • x: number
        • y: number

        Returns boolean