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); }
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); }
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); }