Refactor NPC spawning logic and adjust grid size; remove unused power-up type

This commit is contained in:
2025-12-13 02:59:59 +01:00
parent 0e86d2f4f9
commit 1ae7190fd3
6 changed files with 72 additions and 18 deletions

View File

@@ -35,9 +35,6 @@ namespace Infrastructure.Unity
case PowerUpType.SpeedBoost:
SetColor(EffectColors.SpeedBoostColor);
break;
case PowerUpType.Hover:
SetColor(EffectColors.HoverColor);
break;
case PowerUpType.TimeSlow:
SetColor(EffectColors.TimeSlowColor);
break;
@@ -79,9 +76,6 @@ namespace Infrastructure.Unity
case PowerUpType.SpeedBoost:
player.Status.AddEffect(new SpeedBoostEffect(duration, 1.5f));
break;
case PowerUpType.Hover:
player.Status.AddEffect(new HoverEffect(duration));
break;
case PowerUpType.TimeSlow:
// Handled globally
break;