()
| 2 | var CONST = require('../../../src/physics/arcade/const'); |
| 3 | |
| 4 | function createMockWorld () |
| 5 | { |
| 6 | return { |
| 7 | defaults: { |
| 8 | debugShowStaticBody: true, |
| 9 | staticBodyDebugColor: 0x00ff00 |
| 10 | }, |
| 11 | staticTree: { |
| 12 | remove: function () {}, |
| 13 | insert: function () {} |
| 14 | }, |
| 15 | pendingDestroy: { |
| 16 | add: function () {} |
| 17 | }, |
| 18 | disable: function () {} |
| 19 | }; |
| 20 | } |
| 21 | |
| 22 | function createMockGameObject (x, y, width, height) |
| 23 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…