FINAL JAM COMMIT

This commit is contained in:
2026-02-01 14:06:04 +02:00
parent d910018b7b
commit 4dcca0d08a
42 changed files with 1652 additions and 55 deletions
+3 -2
View File
@@ -1,3 +1,4 @@
using System;
using Godot;
using System.Collections.Generic;
@@ -53,10 +54,10 @@ public partial class EnemyPool : Node
private void Died(Enemy e)
{
GameController.Instance.AddCurrency(25);
GameController.Instance.AddCurrency((int)Math.Floor(e.Health.MaxHP));
ReturnToPool(e);
}
private void ReturnToPool(Enemy e)
{
EnemySpawner.Instance.EnemiesSpawned--;