Example #1
0
 public RollState(PlayerStateHandler playerState)
 {
     player             = playerState;
     rollTargetPosition = Vector2.zero;
     rollTimer          = player.RollDuration;
 }
Example #2
0
 public IdleState(PlayerStateHandler playerState)
 {
     player = playerState;
 }
Example #3
0
 public AttackState(PlayerStateHandler playerState)
 {
     player = playerState;
 }