Exemple #1
0
 public void PlayIntro()
 {
     CancelActions();
     state.ProcessFacingDirection();
     state.SetState(FighterState.invincible);
     spriteAnimator.PlayAnimation(FighterAnimations.intro);
 }
Exemple #2
0
 public void StartAttack(Attack newAttack, FighterAnimations newAnimation, bool allowFlip = true)
 {
     if (allowFlip)
     {
         state.ProcessFacingDirection();
     }
     attackPlayer.StartAttack(newAttack, newAnimation);
 }