// Find a tile that will toggle
for (int i = 0; i < fTilesets.length; i++) {
String type = fTilesets[i].type(tile(i, xy.x(), xy.y()));
ToggleInfo info = GruntzGame.resourceManager().toggle(type);
if (info != null && info.tile() != null) {
// Check for giant rock
if (type.startsWith("GROCK") && !fGiantRockBreaking) {
if (type.equals("GROCK")) found = breakGiantRock(xy.subtract(GridCoordinate.NORTH_WEST));
else if (type.equals("GROCK_T")) found = breakGiantRock(xy.subtract(GridCoordinate.WEST));