Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/phaserjs/phaser
/ Body.test.js
File
Body.test.js
tests/physics/arcade/Body.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
var
Body = require(
'../../../src/physics/arcade/Body'
);
2
3
function
createMockWorld ()
4
{
Callers
nothing calls this directly
Calls
15
setOffset
Method · 0.80
getBounds
Method · 0.80
setVelocity
Method · 0.80
setVelocityX
Method · 0.80
setVelocityY
Method · 0.80
setMaxVelocity
Method · 0.80
setBounce
Method · 0.80
setBounceX
Method · 0.80
setBounceY
Method · 0.80
setCollideWorldBounds
Method · 0.80
setAcceleration
Method · 0.80
setGravity
Method · 0.80
Tested by
no test coverage detected