diff --git a/Assets/Scripts/Player/StateMachine.cs b/Assets/Scripts/Player/StateMachine.cs index a82f4f76..48d627d2 100644 --- a/Assets/Scripts/Player/StateMachine.cs +++ b/Assets/Scripts/Player/StateMachine.cs @@ -200,4 +200,42 @@ public class JumpState : IState } return this; } +} + +public class AttackState : IState +{ + private PlayerMove _player; + private IdleState _idleState; + + public AttackState(PlayerMove player) + { + _player = player; + } + + public void Enter() + { + + } + + public void Update() + { + + } + + public void FixedUpdate() + { + + } + + public void Exit() + { + // _player.Animator.SetBool(PlayerMove.IsAttacking, false); + } + + public IState CheckTransition() + { + // 공격이 종료됐을 때 + // idle + return this; + } } \ No newline at end of file