public static Tile shortToTile(short i, Level l, int x, int y) {
		Tile tile = new FloorTile();
		try {
			Class<? extends Tile> class1 = shortToTileMap.get(i);
			if (class1 == UnbreakableRailTile.class) {
				tile = (Tile) class1.getConstructor(new Class[] { Tile.class })
						.newInstance(new Object[] { new FloorTile() });
			} else if (class1 != null) {
				tile = (Tile) class1.getConstructor().newInstance();
			}
		} catch (Exception exception) {
			exception.printStackTrace();
		}
		return tile;
	}