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
+1 -1
View File
@@ -8,7 +8,7 @@ public partial class EnemyMovement : Node
[Export] private float _speed;
private float _finalSpeed => _speed + 0.15f * (float)Math.Log(GameController.Instance.Wave + 1);
private double _time = 0;
public override void _EnterTree()
+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--;