Class: Grid
Extends
Composite
Implements
Constructors
new Grid()
new Grid(
options
):Grid
A rectangular grid that supports placement of nodes within the grid's cells.
Parameters
• options: GridOptions
Returns
Remarks
This composite node is composed of rectangles and lines. It has convenience functions for placing and clearing nodes on the grid by row and column position (zero-based indexing)
Overrides
Composite.constructor
Defined in
m2c2kit/packages/addons/src/composites/grid.ts:70
Properties
_alpha
_alpha:
number
Inherited from
Composite._alpha
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:2548
_draggable
protected
_draggable:boolean
Inherited from
Composite._draggable
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:2551
_game?
optional
_game:Game
Inherited from
Composite._game
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:2554
_hidden
protected
_hidden:boolean
Inherited from
Composite._hidden
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:2552
_isUserInteractionEnabled
protected
_isUserInteractionEnabled:boolean
Inherited from
Composite._isUserInteractionEnabled
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:2550