RocketLauncher.java | 97 public float fuse; field in class:RocketLauncher.Board.FlyingIcon 172 return String.format("<'%s' @ (%.1f, %.1f) v=%.1f a=%.1f dist/fuse=%.1f/%.1f>", 173 "icon", getX(), getY(), v, angle, dist, fuse); 197 fuse = (float) Math.max(boardCenterX, boardCenterY); 210 float scale = lerp(0, endscale, (float) Math.sqrt(dist / fuse)); 213 final float q1 = fuse*0.15f; 214 final float q4 = fuse*0.75f; 218 setAlpha((dist >= fuse) ? 0f : (1f-(float)Math.pow((dist-q4)/(fuse-q4),2)));
|