Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

35 lignes
1.2 KiB

  1. local PKDef = PKFramework.PKImport("pk_base.luaScript.PKDef")
  2. local PKFuc = PKFramework.PKImport("pk_base.luaScript.PKFunctions")
  3. local PKAnimationCompnent={}
  4. function PKAnimationCompnent.playBoomAnimation(parent,pos,viewId, onEnd)
  5. PKFuc.playAniOnce(parent,38,0.04,"pkAni_ZD%d.png",pos,onEnd)
  6. end
  7. function PKAnimationCompnent.playShunZiAnimation(parent,pos,viewId, onEnd)
  8. PKFuc.playAniOnce(parent,20,0.04,"pkAni_SZ%d.png",pos,onEnd)
  9. end
  10. function PKAnimationCompnent.playBanZiPaoAnimation(parent,pos,viewId, onEnd)
  11. PKFuc.playAniOnce(parent,30,0.04,"pkAni_Bzp%d.png",pos,onEnd)
  12. end
  13. function PKAnimationCompnent.playGunTongAnimation(parent,pos,viewId, onEnd)
  14. PKFuc.playAniOnce(parent,31,0.04,"pkAni_GT%d.png",pos,onEnd)
  15. end
  16. function PKAnimationCompnent.playGunLongAnimation(parent,pos,viewId, onEnd)
  17. PKFuc.playAniOnce(parent,31,0.04,"pkAni_GL%d.png",pos,onEnd)
  18. end
  19. function PKAnimationCompnent.playQingDanAnimation(parent,pos,viewId, onEnd)
  20. PKFuc.playAniOnce(parent,26,0.04,"pkAni_QD%d.png",pos,onEnd)
  21. end
  22. function PKAnimationCompnent.playTianPaiAnimation(parent,pos,viewId, onEnd)
  23. PKFuc.playAniOnce(parent,32,0.04,"pkAni_TP%d.png",pos,onEnd)
  24. end
  25. return PKAnimationCompnent