MCPcopy Create free account
hub / github.com/NianBroken/Firework_Simulator / seqRandomFastShell

Function seqRandomFastShell

js/script.js:920–929  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

918}
919
920function seqRandomFastShell() {
921 const shellType = randomFastShell();
922 const size = getRandomShellSize();
923 const shell = new Shell(shellType(size.size));
924 shell.launch(size.x, size.height);
925
926 let extraDelay = shell.starLife;
927
928 return 900 + Math.random() * 600 + extraDelay;
929}
930
931function seqTwoRandom() {
932 const size1 = getRandomShellSize();

Callers 1

startSequenceFunction · 0.85

Calls 3

launchMethod · 0.95
randomFastShellFunction · 0.85
getRandomShellSizeFunction · 0.85

Tested by

no test coverage detected