mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 07:25:54 +00:00
Interactable interface
This commit is contained in:
parent
49e58ff735
commit
54d9824581
27 changed files with 102 additions and 61 deletions
|
|
@ -33,7 +33,7 @@ public partial class AlarmBox : Interactable
|
|||
_sprite.Play("alarmed");
|
||||
}
|
||||
|
||||
public override bool Activate()
|
||||
public override bool Activate(ActivationType activationType = ActivationType.Toggle)
|
||||
{
|
||||
if (MeetsRequirements() && _alarmManager.IsAlarmOn)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue