mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-07 19:35:54 +00:00
Directional spider bomb
This commit is contained in:
parent
029128c8b8
commit
36e77adcd7
8 changed files with 44 additions and 6 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue