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

@ -0,0 +1 @@
uid://s5ok5qd2symf

View file

@ -4,11 +4,11 @@ namespace Cirno.Scripts.Components.FSM.Player;
public partial class Teleporting : PlayerStateBase
{
public override PlayerState StateId => PlayerState.Init;
public override PlayerState StateId => PlayerState.Teleporting;
[Export]
private PlayerAnimationProvider _animationProvider;
public override void EnterState()
{
_animationProvider.PlayTeleportAnimation();
@ -16,16 +16,16 @@ public partial class Teleporting : PlayerStateBase
public override void ExitState()
{
}
public override void ProcessState(double delta)
{
}
public override void PhysicsProcessState(double delta)
{
}
}