Fixed enemy spawns

This commit is contained in:
Marco 2025-04-28 12:22:00 +02:00
commit 7a62f6a8cd
19 changed files with 263 additions and 147 deletions

View file

@ -46,6 +46,12 @@ public partial class AlarmManager : Node2D
_player?.Play();
}
public void SoundSilentAlarm(Vector2 location)
{
if (IsAlarmOn) return;
EmitSignal(nameof(AlarmEnabled), location);
}
public void DisableAlarm()
{
IsAlarmOn = false;