public void gen() {
		for (int i = 0; i < tiles.length; i++) {
			for (int j = 0; j < tiles[0].length; j++) {
				if (r.nextInt(10) > 1) {
					tiles[i][j] = new Grass(i * 64, j * 64);
				}
				else {
					tiles[i][j] = new Stone(i * 64, j * 64, this);
				}
			}
		}
		
	}