java applet - array checking

Posted by Dan on Stack Overflow See other posts from Stack Overflow or by Dan
Published on 2010-06-02T05:07:34Z Indexed on 2010/06/02 5:13 UTC
Read the original article Hit count: 178

Filed under:
|
|
|
|

OK so my code is here: http://www.so.pastebin.com/m7V8rQ2n

What I want to know... let's say I have an image which I can redraw on tiles... is there a way to check for future tiles so I DON'T go out of bounds of my already defined tile map?

Like if I were at the edge of a map... it would NOT let me go past it?

Thanks.

© Stack Overflow or respective owner

Related posts about java

Related posts about arrays