MCPcopy Index your code
hub / github.com/phaserjs/phaser / SetXY

Function SetXY

src/actions/SetXY.js:32–39  ·  view source on GitHub ↗
(items, x, y, stepX, stepY, index, direction)

Source from the content-addressed store, hash-verified

30 * @return {(array|Phaser.GameObjects.GameObject[])} The array of objects that were passed to this Action.
31 */
32var 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
41module.exports = SetXY;

Callers 1

SetXY.test.jsFile · 0.85

Calls 1

PropertyValueSetFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…