public void updatePixels(Tile[][] tiles) {
		for (int i = 0; i < height; i++) {
			for (int j = 0; j < width; j++) {
				if (tiles[i][j].hasFood) {
					pixels[height*i+j] = 0xFF0000;
					continue;
				}
				if (!tiles[i][j].silverfishList.isEmpty()) {
					if(tiles[i][j].silverfishList.getFirst().isBreeding) {
						pixels[height*i+j] = 0xFFFFFF;
					} else if(tiles[i][j].silverfishList.getFirst().traits.isFemale) {
						pixels[height*i+j] = 0x009900;
					} else {
						pixels[height*i+j] = 0x33FF33;
					}
					continue;
				}
				if (tiles[i][j].hasHuman) {
					pixels[height*i+j] = 0xFFFF00;
					continue;
				}
				else {//if (!tiles[i][j].hasFood && !tiles[i][j].hasSilverfish && !tiles[i][j].hasHuman) {
					pixels[height*i+j] = 0x000000;
				}
			}
		}
		render();
	}