public CloudMapPanel(PPLGGGUI<T> gui, PPLGGFront<T> front) {

		this.front = front;
		this.converter = front.getConverter();

		this.gui = gui;
		sampleMaps = new ArrayList<Map>();
		state = State.IDLE;
		this.setSize(blockWidth * Generator.width, blockHeight
				* Generator.height);
		playableSamples = 0;
		playtestedSamples = 0;
		mapWidth = Generator.width;
		mapHeight = Generator.height;
		tileTypeAverages = new double[converter.numOfTileTypes()][mapWidth][mapHeight];

		for (int t = 0; t < converter.numOfTileTypes(); t++) {
			for (int x = 0; x < mapWidth; x++) {
				for (int y = 0; y < mapHeight; y++) {
					tileTypeAverages[t][x][y] = 0;
				}
			}
		}
		this.addMouseListener(this);
	}