@Override public void update(float tpf) { for (ServerConnectionInfo i : connectionData.values()) { i.update(); } super.update(tpf); }
/** * Adds a <tt>ServerConnectionInfo</tt> representing some connection so that it will be returned * by the <tt>getData</tt> method. * * <p>Internal use only. Instances of <tt>ServerConnectionInfo</tt> are registered on demand. * * @param info the <tt>ServerConnectionInfo</tt> that was just turned from a dummy instance into a * real instance */ protected void register(ServerConnectionInfo info) { connectionData.put(info.getConnection(), info); }