So... ive been trying to do some programming, yet however the for loop never runs, i went through the debugger going step by step, and it skips over the for loop. Any idea?
public void act()
{
double X,Y;
X = getX();
Y = getY();
Y =(Y * 1.04);
if(Y > 375){
System.out.println(Y);
for(int Z = 0; Z == 15; Z++){
Y = Y * .98;
System.out.println(Z);
setLocation((int)X,(int)Y);
}
}
setLocation((int)X,(int)Y);
}
