MCPcopy
hub / github.com/phaserjs/phaser / makeSys

Function makeSys

tests/scene/GetPhysicsPlugins.test.js:5–17  ·  view source on GitHub ↗
(defaultPhysicsSystem, scenePhysics)

Source from the content-addressed store, hash-verified

3describe('Phaser.Scenes.GetPhysicsPlugins', function ()
4{
5 function makeSys (defaultPhysicsSystem, scenePhysics)
6 {
7 return {
8 game: {
9 config: {
10 defaultPhysicsSystem: defaultPhysicsSystem || false
11 }
12 },
13 settings: {
14 physics: scenePhysics || false
15 }
16 };
17 }
18
19 it('should return undefined when no default system and no scene physics', function ()
20 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…