new FlexLayer(manager, position, bounds, scale)
WARNING: This is an EXPERIMENTAL class. The API will change significantly in the coming versions and is incomplete.
Please try to avoid using in production games with a long time to build.
This is also why the documentation is incomplete.
A responsive grid layer.
Parameters
Name | Type | Description |
---|---|---|
manager | Phaser.FlexGrid | The FlexGrid that owns this FlexLayer. |
position | Phaser.Point | A reference to the Point object used for positioning. |
bounds | Phaser.Rectangle | A reference to the Rectangle used for the layer bounds. |
scale | Phaser.Point | A reference to the Point object used for layer scaling. |
- Source code: core/FlexLayer.js (Line 22)
Please login to continue.