public override void DrawAnimation(Spine.SkeletonMeshRenderer skeletonRenderer) { bool spyAnimationIsPlaying = currentAnimation == specialAnimations[Character.Special.Spy]; if (currentAnimation.IsPlayingAnimation && spyAnimationIsPlaying) { currentAnimation.Draw(skeletonRenderer); } if (show || myAttackTurn) { character.DrawAnimation(skeletonRenderer); } if (show || !myAttackTurn) { enemyCharacter.DrawAnimation(skeletonRenderer); } if (hitEffect.Time < END_TIME_HIT_ANIMATION) { hitEffect.Draw(skeletonRenderer); } if (currentAnimation.IsPlayingAnimation && !spyAnimationIsPlaying) { currentAnimation.Draw(skeletonRenderer); } }
public override void DrawAnimation(Spine.SkeletonMeshRenderer skeletonRenderer) { searchMatchAnimation.Draw(skeletonRenderer); }