Java for-loop problem

Posted by Dan on Stack Overflow See other posts from Stack Overflow or by Dan
Published on 2010-05-27T18:08:39Z Indexed on 2010/05/27 18:11 UTC
Read the original article Hit count: 131

Filed under:
|
|

OK so here's my code: http://so.pastebin.com/9swaiuRy

The problem is that I am trying to make certain tiles blocked so the player cannot walk on them. However, it's only reading the FIRST tile which is board[0][0] and everything else is not checked....

What am I doing wrong? :(

Thank you.

© Stack Overflow or respective owner

Related posts about java

Related posts about applet