src/Nakasendo/TS.js
// Helper functions to create player lists
Helper functions to create player lists
Helper functions to create player lists
function PlayerList(playerArr){
    players=[];
    for(i=0;i<playerArr.length;++i){
        p = new player();
        p.UserID = playerArr[i++];
        p.uri = playerArr[i++];
        p.addr = playerArr[i++];
        p.port = playerArr[i];
        players.push(p);
    }
    return players;
}
function PlayerList ( playerArr ) { players = [ ] ; for ( i = 0 ; i < playerArr . length ; ++ i ) { p = new player ( ) ; p . UserID = playerArr [ i ++ ] ; p . uri = playerArr [ i ++ ] ; p . addr = playerArr [ i ++ ] ; p . port = playerArr [ i ] ; players . push ( p ) ; } return players ; }
Helper functions to create player lists
Helper functions to create player lists
// Can the type to checked.