7778798081828384858687
else course = random.nextInt(4); for (PlayerStatus player : mGameStatus.playerStatusList) { if (player.uid == mUID) { PlayerStatus ps = new PlayerStatus(); ps.x = player.x; ps.y = player.y; ps.type = player.type; ps.uid = mUID; ps.course = course;
46474849505152535455
String type, String name) { mType = type; mConnection = new PlayerConnection(socket, outputStream, inputStream, this); mName = name; mLastStatus = new PlayerStatus(); UID = mCounter++; }