Hi, what I currently have is a square moving around 10 spaces per time you press left right up or down, and until it has taken those 10 steps, it won't follow input again...
could anyone tell me how I can add walls in my program?
What I've tried so far is:
private boolean checkWallUp()
{
if (getY() + 10 == wall.getY())
{
return false;
}
else return true;
}
(basicly, if I can get the return false/true working, I know how to handle the rest myself... it's just this small (I hope...) part I don't know