private void updateObstacles(String obs){
		LinkedList<Obstacle> obstacles = new LinkedList<Obstacle>();
		String[] tokens = obs.split(" ");
		for(String token : tokens){
			String[] data = token.split(";");
			if(data.length == 4){
				obstacles.add(new Obstacle(
						new Position(data[0], data[1]),
						Float.parseFloat(data[2]),
						Integer.parseInt(data[3])));
			}
		}
		Boat.getInstance().setObstacles(obstacles);
	}