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

Function makeItem

tests/actions/SetOrigin.test.js:5–16  ·  view source on GitHub ↗
(originX, originY)

Source from the content-addressed store, hash-verified

3describe('Phaser.Actions.SetOrigin', function ()
4{
5 function makeItem (originX, originY)
6 {
7 return {
8 originX: originX || 0,
9 originY: originY || 0,
10 updateDisplayOriginCalled: false,
11 updateDisplayOrigin: function ()
12 {
13 this.updateDisplayOriginCalled = true;
14 }
15 };
16 }
17
18 function makeItems (count)
19 {

Callers 2

makeItemsFunction · 0.70
SetOrigin.test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…