示例#1
0
 public void setHitanimationDelay(float animationDuration) {
   hitE.setAnimationDuration(animationDuration);
   hitN.setAnimationDuration(animationDuration);
   hitNe.setAnimationDuration(animationDuration);
   hitNw.setAnimationDuration(animationDuration);
   hitW.setAnimationDuration(animationDuration);
   hitS.setAnimationDuration(animationDuration);
   hitSe.setAnimationDuration(animationDuration);
   hitSw.setAnimationDuration(animationDuration);
 }
示例#2
0
 public void setRunninganimationDelay(float animationDuration) {
   runE.setAnimationDuration(animationDuration);
   runN.setAnimationDuration(animationDuration);
   runNe.setAnimationDuration(animationDuration);
   runNw.setAnimationDuration(animationDuration);
   runW.setAnimationDuration(animationDuration);
   runS.setAnimationDuration(animationDuration);
   runSe.setAnimationDuration(animationDuration);
   runSw.setAnimationDuration(animationDuration);
 }
示例#3
0
 public void setAttackAnimationDuration(float animationDuration) {
   attackN.setAnimationDuration(animationDuration);
   attackE.setAnimationDuration(animationDuration);
   attackNe.setAnimationDuration(animationDuration);
   attackNw.setAnimationDuration(animationDuration);
   attackW.setAnimationDuration(animationDuration);
   attackS.setAnimationDuration(animationDuration);
   attackSe.setAnimationDuration(animationDuration);
   attackSw.setAnimationDuration(animationDuration);
 }