(cutWidth, cutHeight, customPivot, pivotX, pivotY)
| 2 | var Frame = require('../../../src/textures/Frame'); |
| 3 | |
| 4 | function makeMockFrame (cutWidth, cutHeight, customPivot, pivotX, pivotY) |
| 5 | { |
| 6 | return { |
| 7 | cutWidth: cutWidth !== undefined ? cutWidth : 64, |
| 8 | cutHeight: cutHeight !== undefined ? cutHeight : 64, |
| 9 | customPivot: customPivot || false, |
| 10 | pivotX: pivotX || 0, |
| 11 | pivotY: pivotY || 0 |
| 12 | }; |
| 13 | } |
| 14 | |
| 15 | function makeMockGameObject (frameOverrides) |
| 16 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…