Currently, parse receives an array of ints passed between client and server
and then uses the first int to decide on the function in World to call.
When it calls it, however, it passes individual ints (e.g.,
"addPlayer(message[1], message[2], message[3] ..."). It would make more
sense and be easier to manipulate later if we instead made parse pass the
array and an int telling the function where in the array to start looking
(e.g., "addPlayer(message, 1)"). That way, if we change the way addPlayer
works (say, it takes another variable), we don't have to change the parse
function at all.
Original issue reported on code.google.com by Omer.Ba...@gmail.com on 1 Feb 2007 at 5:07
Original issue reported on code.google.com by
Omer.Ba...@gmail.com
on 1 Feb 2007 at 5:07