public void update(Vector<Event> events)
	{
		if (isServer) sendBroadcastPacket();
		
		if(isServer)
		{
			for (InetAddress ip : clients.keySet())
			{
				clients.put(ip, clients.get(ip).floatValue() + Time.deltaTime());
			}
			removeInactiveClients();
		}

		for (Event ev : events)
		{
			try
			{
				if (isServer) broadcastPacket(ev);
				else if (ev.getAddress().equals(myAdress) && ev.isSentOverNetwork())
				{
					sendPacket(ev);
				}
			} 
			catch (IOException e) {e.printStackTrace();}
		}
	}