Directional spider bomb

This commit is contained in:
MaddoScientisto 2025-03-15 17:56:55 +01:00
commit 36e77adcd7
8 changed files with 44 additions and 6 deletions

View file

@ -10,8 +10,12 @@ public partial class Init : PlayerStateBase
[Export]
private PlayerAnimationProvider _animationProvider;
[Export] private PlayerStorageModule _storageModule;
public override void EnterState()
{
_storageModule.FacingDirection = ((PlayerStateMachine)StateMachine).StartingDirection;
_animationProvider.PlayUnteleportAnimation();
_ = AutoSwitchToStart();
}