Fixed teleporters

This commit is contained in:
Maddo 2025-03-05 12:27:15 +01:00
commit 49cfb52d20
15 changed files with 102 additions and 84 deletions

View file

@ -7,7 +7,7 @@ public partial class InteractionController : PlayerArea2DModule
{
[Export] public ActorResourceProvider Health { get; private set; }
[Export] public ActorResourceProvider Shield { get; private set; }
private bool _enabled = false;
public bool Enabled
@ -23,7 +23,7 @@ public partial class InteractionController : PlayerArea2DModule
}
}
}
[Signal]
public delegate void InteractionStartedEventHandler();
@ -39,16 +39,16 @@ public partial class InteractionController : PlayerArea2DModule
public override void Init(IStateMachine<PlayerState, CharacterBody2D> machine)
{
base.Init(machine);
}
public override void Process(double delta)
{
}
public override void PhysicsProcess(double delta)
{
}
}