Example #1
0
 public void StrongAtKey()
 {
     if (guardControll.InGuard || DamageControll.InDamage)
     {
         return;
     }
     AttackControll.InputKey(PlayerKeyCode.Y);
 }
Example #2
0
 public void ChangeVerticalAxis(float delta)
 {
     CurrentMoveCotroll.VerticalMovement = delta;
     if (delta > 0)
     {
         AttackControll.InputKey(PlayerKeyCode.UArrow);
     }
     else if (delta < 0)
     {
         AttackControll.InputKey(PlayerKeyCode.DArrow);
     }
 }
Example #3
0
 public void ChangeHorizontalAxis(float delta)
 {
     CurrentMoveCotroll.HorizontalMovement = delta;
     if (delta > 0)
     {
         AttackControll.InputKey(PlayerKeyCode.RArrow);
     }
     else if (delta < 0)
     {
         AttackControll.InputKey(PlayerKeyCode.LArrow);
     }
 }
Example #4
0
 public void JumpKey()
 {
     if (guardControll.InGuard || DamageControll.InDamage)
     {
         return;
     }
     if (!AttackControll.InAttack)
     {
         CurrentMoveCotroll.JumpStart();
     }
     AttackControll.InputKey(PlayerKeyCode.A);
 }