18 lines
282 B
JavaScript
18 lines
282 B
JavaScript
let playerAnim = [];
|
|
let tomAnim = [];
|
|
let enemyAnim = [];
|
|
|
|
fillArrays();
|
|
|
|
function fillArrays()
|
|
{
|
|
fillArray("fuchs_", 8, playerAnim);
|
|
fillArray("tom_", 3, tomAnim);
|
|
fillArray("enemy_",3, enemyAnim);
|
|
}
|
|
|
|
playerAnim.forEach(function(player)
|
|
{
|
|
console.log(player);
|
|
});
|