(items, x, y, stepX, stepY, index, direction)
| 30 | * @return {(array|Phaser.GameObjects.GameObject[])} The array of objects that were passed to this Action. |
| 31 | */ |
| 32 | var SetXY = function (items, x, y, stepX, stepY, index, direction) |
| 33 | { |
| 34 | if (y === undefined || y === null) { y = x; } |
| 35 | |
| 36 | PropertyValueSet(items, 'x', x, stepX, index, direction); |
| 37 | |
| 38 | return PropertyValueSet(items, 'y', y, stepY, index, direction); |
| 39 | }; |
| 40 | |
| 41 | module.exports = SetXY; |
no test coverage detected
searching dependent graphs…