public static void loadFrameDesigns (int levelNumber) {
        URL url = LevelDesign.class.getResource("/levels/level" + levelNumber + "/description");
        BufferedReader reader = null;
        int framesNum = 0;
        int heroX = 0;
        int heroY = 0;
        try {
            reader = new BufferedReader(new FileReader(new File(url.getPath())));
            try {
                String line = reader.readLine();
                while (line != null) {
                    String[] params = line.split(";");
                    switch (params[0]) {
                        case ("texture"):
                            textureContainer.loadAnimationByName(params[1]);
                            break;
                        case ("frames"):
                            framesNum = Integer.parseInt(params[1]);
                            break;
                        case ("hero"):
                            heroX = Integer.parseInt(params[1]) * 20;
                            heroY = Integer.parseInt(params[2]) * 20;
                            break;
                    }
                    line = reader.readLine();
                }
            } catch (IOException e) {
                e.printStackTrace();
            }
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }
        finally {
            if (reader != null) {
                try {
                    reader.close();
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
        }
        hero = new Hero(heroX, heroY, "hero");
        for (int i = 0; i < framesNum; i++) {
            frameDesigns.add(new FrameDesign(i, 0));
        }
    }