Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/phaserjs/phaser
/ StaticBody.test.js
File
StaticBody.test.js
tests/physics/arcade/StaticBody.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
var
StaticBody = require(
'../../../src/physics/arcade/StaticBody'
);
2
var
CONST = require(
'../../../src/physics/arcade/const'
);
3
4
function
createMockWorld ()
Callers
nothing calls this directly
Calls
7
setOffset
Method · 0.80
getBounds
Method · 0.80
setMass
Method · 0.80
createMockWorld
Function · 0.70
createMockGameObject
Function · 0.70
setCircle
Method · 0.65
setSize
Method · 0.65
Tested by
no test coverage detected