public void setServerInvoker(Server invoker) { this.serverInvoker = invoker; this.prevRoom = serverInvoker.getCurRoom(); }