mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Map Triggers
This commit is contained in:
parent
5ce2ffb48e
commit
054c0998ad
34 changed files with 5896 additions and 477 deletions
|
|
@ -35,6 +35,11 @@ public partial class ElevatorProxy : Area2D, IActivable
|
|||
EmitSignal(SignalName.Activated, (int)activationType);
|
||||
return true;
|
||||
}
|
||||
|
||||
public void Toggle()
|
||||
{
|
||||
this.Activate();
|
||||
}
|
||||
|
||||
private void _on_area_entered(Area2D area)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18,4 +18,9 @@ public partial class ElevatorProxyProxy : Path2D, IActivable
|
|||
{
|
||||
return _elevatorProxy.Activate(activationType);
|
||||
}
|
||||
|
||||
public void Toggle()
|
||||
{
|
||||
this.Activate();
|
||||
}
|
||||
}
|
||||
|
|
@ -71,4 +71,9 @@ public partial class EnemyFSMProxy : CharacterBody2D, IActivable
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
public void Toggle()
|
||||
{
|
||||
this.Activate();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue