* Creates a minimal mock item compatible with Phaser's bounds functions. * With width=0, height=0 and originX=0, originY=0, TOP_LEFT alignment * places the item exactly at tempZone.x, tempZone.y.
()
| 46 | * places the item exactly at tempZone.x, tempZone.y. |
| 47 | */ |
| 48 | function createItem () |
| 49 | { |
| 50 | return { |
| 51 | x: 0, |
| 52 | y: 0, |
| 53 | width: 0, |
| 54 | height: 0, |
| 55 | originX: 0, |
| 56 | originY: 0 |
| 57 | }; |
| 58 | } |
| 59 | |
| 60 | function createItems (count) |
| 61 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…