2024-06-27 09:15:43 +02:00
|
|
|
let playerAnim = [];
|
|
|
|
let tomAnim = [];
|
2024-06-27 09:21:55 +02:00
|
|
|
let enemyAnim = [];
|
2024-06-27 09:15:43 +02:00
|
|
|
|
2024-06-27 09:36:34 +02:00
|
|
|
fillArrays();
|
|
|
|
|
2024-06-27 09:15:43 +02:00
|
|
|
function fillArrays()
|
|
|
|
{
|
|
|
|
fillArray("fuchs_", 8, playerAnim);
|
|
|
|
fillArray("tom_", 3, tomAnim);
|
2024-06-27 09:21:55 +02:00
|
|
|
fillArray("enemy_",3, enemyAnim);
|
2024-06-27 09:15:43 +02:00
|
|
|
}
|
2024-06-27 09:36:34 +02:00
|
|
|
|
|
|
|
playerAnim.forEach(function(player)
|
|
|
|
{
|
|
|
|
console.log(player);
|
|
|
|
});
|