pixi-reels

BoardCellMaskInfo

pixi-reels


pixi-reels / index / BoardCellMaskInfo

Interface: BoardCellMaskInfo

Defined in: board/BoardGrid.ts:31

What a cell-mask factory is told about the cell it builds for.

Properties#

PropertyTypeDescriptionDefined in
colsnumber-board/BoardGrid.ts:32
cornersMaskCornersThe BOARD corners this cell sits on: { topLeft: true } and the rest false for cell (0, 0), all false for an inner cell. Hand it to RoundedRectMaskStrategy as corners and the board reads as one rounded window built from one rect per cell.board/BoardGrid.ts:40
rowsnumber-board/BoardGrid.ts:33