MCPcopy
hub / github.com/piqnt/planck.js / runAction

Function runAction

example/DynamicTreeTest.ts:272–287  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

270}
271
272function runAction() {
273 const choice = (Math.random() * 20) | 0;
274
275 switch (choice) {
276 case 0:
277 createProxy();
278 break;
279
280 case 1:
281 destroyProxy();
282 break;
283
284 default:
285 moveProxy();
286 }
287}

Callers 1

DynamicTreeTest.tsFile · 0.85

Calls 4

createProxyFunction · 0.85
destroyProxyFunction · 0.85
moveProxyFunction · 0.85
randomMethod · 0.80

Tested by

no test coverage detected