public static void SpawnCoins(Loot loot, Vector2 position) { for (int i = 0; i < loot.copper_amount; i++) SpawnCoin(COIN_TYPE.COPPER, position); for (int i = 0; i < loot.silver_amount; i++) SpawnCoin(COIN_TYPE.SILVER, position); for (int i = 0; i < loot.gold_amount; i++) SpawnCoin(COIN_TYPE.GOLD, position); }