()
| 167 | } |
| 168 | |
| 169 | public void endAnimation() |
| 170 | { |
| 171 | animating = false; |
| 172 | |
| 173 | nextAnimation = (long) (System.currentTimeMillis() + Math.abs(random.nextGaussian()*Constants.SOLDIER_ANIMATION_DELAY_STANDARD_DEVIATION + Constants.SOLDIER_ANIMATION_MEAN_VALUE)); |
| 174 | } |
| 175 | |
| 176 | } |