mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-07 22:25:53 +00:00
Fixed enemy spawns
This commit is contained in:
parent
c00d298443
commit
7a62f6a8cd
19 changed files with 263 additions and 147 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue