static void handleRequestChangeDestination(InputPacket ip, User u) { OutputPacket op = new OutputPacket(512, Protocol.BROADCAST_CHANGE_DESTINATION); int key = u.getKey(); op.writeInt32(key); op.writeVector2(u.posVec); Vector2 newDestinaton = ip.readVector2(); op.writeVector2(newDestinaton); u.destinationVec = newDestinaton; //Console.WriteLine(key + u.posVec.x + ", " + u.posVec.y + " " + newDestinaton.x + "," + newDestinaton.y); foreach (User otherUsr in usrList) { otherUsr.sendPacketAsync(op); } }