AttackState 구조 틀 생성
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user