public cell getCell(int x, int y){
				cell hyperion = new conveyorCell();
				switch(aamode){
					case 1: hyperion = pete.culture[x][y];
					case 2: for(int b = 0; b < gridy; b++){
										for(int a = 0; a < gridx; a++){
											if(x >= grid[a][b].xmin && y >= grid[a][b].ymin){
												if(x <= grid[a][b].xmax && y <= grid[a][b].ymax){
													hyperion =  grid[a][b].getCell(x,y);}}}}
													break;
				}
				
				
				return hyperion; 
			}