public void scrollPoofs() { for (Poof i : poofList) { i.setY(i.getY() + (int) (player1.getVelocity() * 0.3)); } }