7 lines
126 B
JavaScript
7 lines
126 B
JavaScript
|
|
function fillArray(name, number)
|
|
{
|
|
for (let i = 1; i++; i <= number) {
|
|
playerAnim[i] = name + i + ".png";
|
|
}
|
|
} |