FEE_MathRunner/js/funktionen.js

7 lines
152 B
JavaScript

function fillArray(name, number, playerAnim)
{
for (let i = 1 ; i <= number ; i++) {
playerAnim[i-1] = "pics/" + name + i + ".png";
}
}