This segment, for some reason does not check character value but array position... I am almost positive that there is a special way to compare character values (in java is string.equals()) But I am not sure what it is or what to look up to find it
if(map[index[0]][index[1]-1] != 219) // index[0] is the X coordinate and index[1] is the Y coordinate, this is the check when moving down
I would appreciate the library the function is located in
This post has been edited by sausage: 09 April 2009 - 10:20 PM

Help



Back to top









