if (!method.equals("default") && !method.equals("glass") && !method.equals("ctm")) {
if (method.equals("random")) {
override = new TileOverrideImpl$Random1(propertiesFile, properties, tileLoader);
if (((TileOverride)override).getNumberOfTiles() == 1) {
override = new TileOverrideImpl$Fixed(propertiesFile, properties, tileLoader);
}
} else if (!method.equals("fixed") && !method.equals("static")) {
if (!method.equals("bookshelf") && !method.equals("horizontal")) {
if (!method.equals("horizontal+vertical") && !method.equals("h+v")) {
if (method.equals("vertical")) {
override = new TileOverrideImpl$Vertical(propertiesFile, properties, tileLoader);
} else if (!method.equals("vertical+horizontal") && !method.equals("v+h")) {
if (!method.equals("sandstone") && !method.equals("top")) {
if (!method.equals("repeat") && !method.equals("pattern")) {
logger.error("%s: unknown method \"%s\"", new Object[] {propertiesFile, method});
} else {
override = new TileOverrideImpl$Repeat(propertiesFile, properties, tileLoader);
}
} else {
override = new TileOverrideImpl$Top(propertiesFile, properties, tileLoader);
}
} else {
override = new TileOverrideImpl$VerticalHorizontal(propertiesFile, properties, tileLoader);
}
} else {
override = new TileOverrideImpl$HorizontalVertical(propertiesFile, properties, tileLoader);
}
} else {
override = new TileOverrideImpl$Horizontal(propertiesFile, properties, tileLoader);
}
} else {
override = new TileOverrideImpl$Fixed(propertiesFile, properties, tileLoader);
}
} else {
override = new TileOverrideImpl$CTM(propertiesFile, properties, tileLoader);
}