Function getBlockPositionOnGrid

  • This function is used to get the block position on the grid

    Returns

    Parameters

    • blockType: BlockType

      block type

    • slotPosition: number

      slot position

    • grid: Grid

      grid represents the placement of the blocks

    Returns {
        x: number;
        y: number;
    }

    • x: number
    • y: number

Generated using TypeDoc