Takes an array of Game Objects, or any objects that have public x
and y
properties,
and then aligns them based on the grid configuration given to this action.
name | type | description |
---|---|---|
items | array | Array.<Phaser.GameObjects.GameObject> |
The array of items to be updated by this action. |
options | Phaser.Types.Actions.GridAlignConfig |
The GridAlign Configuration object. |
The array of objects that were passed to this Action.