Ok, so you are not wanting to cast your doubles as ints, like you have here:
if((initialX-(int) initialX)>0.5)
a=(int)initialX + 1;
if((initialY-(int)...
Type: Posts; User: aussiemcgr
Ok, so you are not wanting to cast your doubles as ints, like you have here:
if((initialX-(int) initialX)>0.5)
a=(int)initialX + 1;
if((initialY-(int)...
Please fix your post by reading the directions in my signature.
I found your issue. Let me ask you a question: Where do you set the x and y variables in the constructor that takes in two doubles?