public void sendData(ObjectOutputStream[] streams, double time, int newPlayer){
		for(int i=0;i<streams.length;i++){
			if(streams[i] == null) continue;
			
			try {
				
				streams[i].writeDouble(time);
				
				streams[i].flush();
			} catch (Exception e) {
				System.out.println("issue in GameMechanics.sendData");
				e.printStackTrace();
			}
		}
	}